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://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/test
  • 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 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 78 revisions of this API.