{
  "id": "use-langcache",
  "title": "Use the LangCache API on Redis Cloud",
  "url": "https://redis.io/docs/latest/operate/rc/langcache/use-langcache/",
  "summary": "",
  "tags": [
    "docs",
    "operate",
    "rc"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "page_type": "content",
  "content_hash": "51c3d840349138ab51348aa59ec0e8df73b20d144240e96d5bfaf5ba4a9ddeb7",
  "sections": [
    {
      "id": "content",
      "title": "Content",
      "role": "content",
      "text": "You can use the [LangCache API and SDK]() from your client app to store and retrieve LLM, RAG, or agent responses. \n\nTo access the LangCache API, you need:\n\n- LangCache API base URL\n- LangCache service API key\n- Cache ID\n\nFor LangCache on Redis Cloud, the base URL and cache ID are available in the LangCache service's **Configuration** page in the [**Connectivity** section]().\n\nThe LangCache API key is only available immediately after you create the LangCache service. If you lost this value, you will need to [replace the service API key]() to be able to use the LangCache API.\n\nWhen you call the API, you need to pass the LangCache API key in the `Authorization` header as a Bearer token and the Cache ID as the `cacheId` path parameter. \n\nSee the [LangCache API and SDK examples]() for more information on how to use the LangCache API."
    }
  ],
  "examples": []
}
