v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
logs

Api Cache Partial Update

PATCH handler with superadmin lock and field protection.

Checks:

  1. Object lock (is_managed=True -> non-superadmins can't modify)
  2. Field protection (non-superadmins can't modify specific fields)
patch/api/cache/{id}/

Path parameters

idinteger required

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

cache_keystring nullable
cache_key_by_org_uuidstring nullable
{"stackTrail":"components:schemas:PatchedPublicCachedResponseDetailRequest:properties:full_response","oasType":"schema","type":"unknown","description":"Any type"}
hit_countinteger
response_timenumber double
timestampstring date-time
updated_atstring date-time
expiry_datestring date-time nullable

Response

cache_keystring nullable
cache_key_by_org_uuidstring nullable
request_contentstring required
prompt_contentstring required
response_contentstring required
{"stackTrail":"components:schemas:PublicCachedResponseDetail:properties:full_response","oasType":"schema","type":"unknown","description":"Any type"}
hit_countinteger
response_timenumber double
timestampstring date-time
updated_atstring date-time
expiry_datestring date-time nullable