Skip to main content
GET
/
v1
/
receipts
List recent receipts (newest first)
curl --request GET \
  --url https://api.example.com/v1/receipts \
  --header 'Authorization: Bearer <token>'
{
  "receipts": [
    {
      "seq": 42,
      "receiptId": "018f1234-5678-7abc-def0-123456789abc",
      "requestId": "req-abc-123",
      "actor": "user@example.com",
      "provider": "anthropic",
      "model": "claude-3-5-sonnet-20241022",
      "promptTokens": 1000,
      "completionTokens": 250,
      "costUsd": 0.00375,
      "checks": [
        {
          "name": "policy",
          "result": "allow"
        }
      ],
      "ts": "2026-07-02 12:00:00.000"
    }
  ],
  "nextCursor": 40
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
number
Example:

25

cursor
number

Exclusive seq upper bound for the next page

Response

200 - application/json
receipts
object[]
required
nextCursor
object | null
required

Seq of the last returned receipt — pass as cursor to fetch the next page. null when this is the last page.

Example:

40