Cache Settings

Test Cache Connection

Test cache connection with provided credentials.

Creates a temporary cache instance and uses its test_connection method to verify the credentials work without affecting global state.

post/cache/settings/test

Request

  • Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
  • URL: https://docs.litellm.com.cn/cache/settings/test
  • Auth: API key in header x-litellm-api-key

Request body

cache_settingsobject required

Cache settings to test connection with

Response

Successful Response

statusstring required

Connection status: 'success' or 'failed'

messagestring required

Connection result message

errorstring nullable

Error message if connection failed

Changes

No recorded changes to this operation across all 1 revision of this API.