{
  "id": "view-edit-cache",
  "title": "View and edit LangCache service",
  "url": "https://redis.io/docs/latest/operate/rc/langcache/view-edit-cache/",
  "summary": "",
  "tags": [
    "docs",
    "operate",
    "rc"
  ],
  "last_updated": "2026-04-01T08:10:08-05:00",
  "page_type": "content",
  "content_hash": "a3345253680e8a73d55741ec52247a10be29b902d805c971b15d9793956ee004",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "After you have [created your first LangCache service](), selecting **LangCache** from the Redis Cloud Console menu will take you to the **LangCache Services** page. \n\nThis page displays a list of all LangCache services associated with your account.\n\n\n\nSelect your LangCache service from the list to view the service's details."
    },
    {
      "id": "configuration-tab",
      "title": "Configuration tab",
      "role": "configuration",
      "text": "The **Configuration** tab lets you view the details of your LangCache service. It contains the following sections:\n\n- The **Connectivity** section provides the connection details for your LangCache service.\n- The **General** section provides the cache settings for your LangCache service.\n- The **Actions** section lets you flush or delete your LangCache service."
    },
    {
      "id": "connectivity",
      "title": "Connectivity",
      "role": "content",
      "text": "The **Connectivity** section provides the connection details for your LangCache service. \n\n\n\n| Setting name          |Description|\n|:----------------------|:----------|\n| **API Key** | The Bearer token for your LangCache API requests. |\n| **Cache ID** | The unique ID of your LangCache service. |\n| **URL List** | A list of base URLs for LangCache API requests. Use the closest URL for the best performance. |\n\nSelect the **Copy** button next to the Cache ID and API Base URL to copy them to the clipboard. If you lost the API key value or need to rotate the key, you can [generate a new service API key](#replace-service-api-key) at any time.\n\nSee [use the LangCache API]() for more information on how to use these values. \n\n#### Generate a new service API key {#replace-service-api-key}\n\nThe API key is only available immediately after you create the LangCache service. If you lost this value, or need to rotate the key, you can generate a new service key at any time.\n\nTo generate a new service key:\n\n1. Select **Generate key**.\n\n    \n\n1. A confirmation dialog will appear. Select **Confirm** to confirm.\n\n1. The new key will appear in a dialog box. Select **Copy** to copy the key to the clipboard.\n\n    \n\n    \nAfter you generate a new service key, calls to the LangCache API with the old key will fail. <br/><br/>\n\nThis is the only time the value of the user key is available. Save it to a secure location before closing the dialog box. <br/><br/>\n\nIf you lose the service key value, you will need to generate a new key again."
    },
    {
      "id": "general",
      "title": "General",
      "role": "content",
      "text": "The **General** section provides configuration details for your LangCache service.\n\n\n\n| Setting name          |Description|\n|:----------------------|:----------|\n| **Service name** | The name of the LangCache service. |\n| **Database** | The database that stores your cache data. |\n| **Similarity threshold** | The minimum similarity score required to consider a cached response a match. _(Editable)_ |\n| **TTL** | The number of seconds to cache entries before they expire. _(Editable)_ |\n| **Embedding Provider** | The embedding provider used for your service. |\n| **Embedding Model** | The embedding model used for your service. |\n| **Embedding Model API key** | The obfuscated API key for the embedding provider. |\n\nSome of these settings can be changed after cache creation. To do so, select the **Edit** button."
    },
    {
      "id": "attributes",
      "title": "Attributes",
      "role": "content",
      "text": "The **Attributes** section provides the custom attributes defined for your LangCache service.\n\n\n\nYou can not edit custom attributes after cache creation."
    },
    {
      "id": "actions",
      "title": "Actions",
      "role": "content",
      "text": "The **Actions** section lets you flush or delete your LangCache service.\n\n\n\n#### Flush cache\n\nFlushing the cache completely erases all cached data while preserving the service configuration and the search index used by the cache.\n\nTo flush the cache:\n\n1. Select **Flush**.\n\n1. A confirmation dialog will appear. Select **Flush** again to confirm.\n\nFlushing the cache is permanent and cannot be undone, and will result in cache misses until the cache is repopulated.\n\n#### Delete service\n\nDeleting your LangCache service permanently deletes all associated cached data, the service configuration, and the LangCache search index. It also immediately terminates all API keys associated with the service. Data stored in other indexes within the same database will remain unaffected.\n\nTo delete your LangCache service:\n\n1. Select **Delete**.\n\n1. A confirmation dialog will appear. Select the checkbox to confirm that you want to delete the service.\n\n1. Select **Delete** again to confirm.\n\nDeleting the LangCache service is permanent and cannot be undone."
    },
    {
      "id": "metrics-tab",
      "title": "Metrics tab",
      "role": "content",
      "text": "The **Metrics** tab provides a series of graphs showing performance data for your LangCache service. See [Monitor a LangCache service]() for more information."
    }
  ],
  "examples": []
}
