latestOpenAPI 3.1.02026-08-236994571.1 MB

79928a3d37d3

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 body

cache_settingsobject required

Cache settings to save

Response

Successful Response

{"stackTrail":"paths:/cache/settings:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}