Api Cache Key Retrieve

GET/PATCH/DELETE /api/caches/<cache_key>/ — Retrieve, update, delete by cache_key. GET/PATCH/DELETE /api/cache/<id>/ — Legacy alias, lookup by integer PK (JWT only). GET/PATCH/DELETE /api/cache/key/<cache_key>/ — Legacy alias, lookup by cache_key. JWT auth uses pk lookup when an integer id is supplied; otherwise (and for API key auth) lookup is by cache_key_by_org_uuid.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

cache_keystringRequired

Response

request_contentstringRead-only
prompt_contentstringRead-only
response_contentstringRead-only
cache_keystring or nullOptional
cache_key_by_org_uuidstring or nullOptional
prompt_messagesanyOptional
full_responseanyOptional
hit_countintegerOptional-2147483648-2147483647
response_timedoubleOptional
timestampdatetimeOptional
updated_atdatetimeOptional
expiry_datedatetime or nullOptional