v3

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

Api Cache Key Create

POST handler with superadmin-only field protection.

Strips superadmin-only fields from non-superadmin requests before delegating to OrganizationInjectionMixin.post() for org injection.

post/api/cache/key/{cache_key}/

Path parameters

cache_keystring 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:PublicCachedResponseDetailRequest: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