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 cache summary

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

Get filtered cache summary

Next
Built with

Headers

AuthorizationstringRequired

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

Response

Summary statistics for cached responses.
total_countinteger
Total number of cached responses that match the query.

Errors

401
Unauthorized Error