For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DiscordPlatform
DocumentationIntegrationsAPI referenceSDKsChangelog
DocumentationIntegrationsAPI referenceSDKsChangelog
  • API Reference
      • GETList cached responses
      • POSTList cached responses with filters
      • DELBulk delete cached responses
      • GETRetrieve a cached response
      • GETGet cache summary
      • POSTGet filtered cache summary
      • DELDelete all cached responses
  • Reference
    • Filters API Reference
LogoLogo
DiscordPlatform
API ReferenceCaches

Get filtered cache summary

POST
https://api.respan.ai/api/caches/summary/
POST
/api/caches/summary/
$curl -X POST https://api.respan.ai/api/caches/summary/ \
> -H "Authorization: Bearer sk_live_xxxxx" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "total_count": 25
3}
Return the total number of cached responses after applying filters. This endpoint supports both JWT and API key authentication.
Was this page helpful?
Previous

Delete all cached responses

Next
Built with

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY for API key auth or Bearer <JWT> for dashboard auth.

Request

This endpoint expects an object.
filtersobjectOptional
Filter criteria using the standard Respan filter format.

Response

Filtered cache summary statistics.
total_countinteger
Total number of cached responses that match the query.

Errors

400
Bad Request Error
401
Unauthorized Error