GET receipts
GET /api/v1/receipts
Lists receipts visible to the authenticated user or API key.
Authenticate with an API key or a portal session token.
Parameters
pageinteger queryRange: at least 1per_pageinteger queryDefault:20. Range: 1 to 100. Example:20providerstring querychain_idstring querysurfacestring queryOne of:"chat","api","extension","desktop-local"
Responses
200 Successful response.
application/json object
dataarray of object requiredEach item:
chain_seqinteger or nullcreated_atstring (date-time)jtistringmodestring or nullmodelstring or nullproviderstring or nullsurfacestringOne of:"chat","api","extension","desktop-local"tierstring or nulltokens_ininteger or nulltokens_outinteger or nullverifiableboolean
linksobject requirednextstring (uri) or nullprevstring (uri) or null
metaobject requiredcurrent_pageintegerlast_pageintegerper_pageintegersurfacesobjectchat_apiinteger requireddesktop_localinteger requiredextensioninteger required
totalinteger
Generated sample
{
"data": [
{
"chain_seq": 0,
"created_at": "2026-01-01T00:00:00Z",
"jti": "string",
"mode": "string",
"model": "string",
"provider": "string",
"surface": "chat",
"tier": "string",
"tokens_in": 0,
"tokens_out": 0,
"verifiable": true
}
],
"links": {
"next": "https://example.com",
"prev": "https://example.com"
},
"meta": {
"current_page": 0,
"last_page": 0,
"per_page": 0,
"surfaces": {
"chat_api": 0,
"desktop_local": 0,
"extension": 0
},
"total": 0
}
}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.
422 A receipt filter has an invalid value.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
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