Skip to content
Sign in Create account

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

  • page integer query
    Range: at least 1
  • per_page integer query
    Default: 20. Range: 1 to 100. Example: 20
  • provider string query
  • chain_id string query
  • surface string query
    One of: "chat", "api", "extension", "desktop-local"

Responses

200 Successful response.

application/json object

  • data array of object required

    Each item:

    • chain_seq integer or null
    • created_at string (date-time)
    • jti string
    • mode string or null
    • model string or null
    • provider string or null
    • surface string
      One of: "chat", "api", "extension", "desktop-local"
    • tier string or null
    • tokens_in integer or null
    • tokens_out integer or null
    • verifiable boolean
  • links object required
    • next string (uri) or null
    • prev string (uri) or null
  • meta object required
    • current_page integer
    • last_page integer
    • per_page integer
    • surfaces object
      • chat_api integer required
      • desktop_local integer required
      • extension integer required
    • total integer

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

  • error string required
  • message string
403 The authenticated principal lacks the required permission.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 A receipt filter has an invalid value.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 The request was rate limited. API-generated responses are JSON;

Response headers

  • Retry-After string header

    Seconds to wait before retrying, when provided.

  • X-RateLimit-Scope string header

    Identifies the scope of the request limit, when provided.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string