Cache Settings

Update Cache Settings

Save cache settings to database and initialize cache.

This endpoint:

  1. Encrypts sensitive fields (passwords, etc.)
  2. Saves to LiteLLM_CacheConfig table
  3. Reinitializes cache with new settings
post/cache/settings

Request

  • Base URL: https://api.sea-lion.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.sea-lion.ai/cache/settings
  • Auth: one of:
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key
    • API key in header x-litellm-api-key

Request body

cache_settingsobject required

Cache settings to save

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 78 revisions of this API.