GET receipts/{}
GET /api/v1/receipts/{jti}
Returns a receipt visible to the authenticated user or API key.
Authenticate with an API key or a portal session token.
Parameters
jtistring path requiredPattern:^[0-9A-Za-z-]+$
Responses
200 Successful response.
application/json ReceiptsReceiptDetail
api_key_idinteger or nullcanonical_sha256string or nullcapabilitystring or nullchain_idstring or nullchain_seqinteger or nullcreated_atstring (date-time) requireddetector_hitsinteger or nullenvelopeobject or null requiredjtistring requiredkidstring or nulllatency_msinteger or nullmodestring or nullmodelstring or null requiredprev_hashstring or nullproviderstring or null requiredsurfacestring requiredOne of:"chat","api","extension","desktop-local"tierstring or null requiredtokens_ininteger or null requiredtokens_outinteger or null requireduser_idinteger requiredverifiableboolean required
Generated sample
{
"api_key_id": 0,
"canonical_sha256": "string",
"capability": "string",
"chain_id": "string",
"chain_seq": 0,
"created_at": "2026-01-01T00:00:00Z",
"detector_hits": 0,
"envelope": {},
"jti": "string",
"kid": "string",
"latency_ms": 0,
"mode": "string",
"model": "string",
"prev_hash": "string",
"provider": "string",
"surface": "chat",
"tier": "string",
"tokens_in": 0,
"tokens_out": 0,
"user_id": 0,
"verifiable": true
}401 Authentication is required or the supplied credentials are not accepted.
application/json Error
errorstring requiredmessagestring
403 The authenticated principal lacks the required permission.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
404 The referenced resource was not found.
application/json ReceiptsApiError
errorobject requiredcodestring requiredExample:"not_found"messagestring requiredExample:"The requested receipt was not found."
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string