latestOpenAPI 3.1.02026-08-197104501.1 MB
8fbaab4fc7c5
Cache Settings
Update Cache Settings
Save cache settings to database and initialize cache.
This endpoint:
- Encrypts sensitive fields (passwords, etc.)
- Saves to LiteLLM_CacheConfig table
- Reinitializes cache with new settings
post/cache/settings
Headers
litellm-changed-bystring nullable
The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability
The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability
Request body
Response
Successful Response
{"stackTrail":"paths:/cache/settings:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}