---
title: "Test Cache Connection"
method: POST
path: "/cache/settings/test"
tags: ["Cache Settings"]
---

# Test Cache Connection

`POST /cache/settings/test`

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.

## Request body

- CacheTestRequest
  - `cache_settings` object, required — Cache settings to test connection with

## Response `200`

Successful Response

- CacheTestResponse
  - `status` string, required — Connection status: 'success' or 'failed'
  - `message` string, required — Connection result message
  - `error` string, nullable — Error message if connection failed

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
