Bulk Delete Cached Responses

DELETE /api/caches/bulk/ — Bulk delete cached responses.

Request body (exactly one of): {“ids”: [1, 2, 3]} — JWT only (internal integer PKs) {“cache_keys”: [“k1”,“k2”]} — by cache_key_by_org_uuid {“all”: true} — deletes all cached responses for the org

Authentication

AuthorizationBearer

Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.

OR
AuthorizationBearer

Use a dashboard JWT only for dashboard-authenticated endpoints. Respan API-key endpoints use the respanApiKey auth field instead.