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 null
cache_key_by_org_uuidstring or null
prompt_messagesany
full_responseany
hit_countinteger-2147483648-2147483647
response_timedouble
timestampdatetime
updated_atdatetime
expiry_datedatetime or null