Skip to content
Sign in Create account

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

  • jti string path required
    Pattern: ^[0-9A-Za-z-]+$

Responses

200 Successful response.

application/json ReceiptsReceiptDetail

  • api_key_id integer or null
  • canonical_sha256 string or null
  • capability string or null
  • chain_id string or null
  • chain_seq integer or null
  • created_at string (date-time) required
  • detector_hits integer or null
  • envelope object or null required
  • jti string required
  • kid string or null
  • latency_ms integer or null
  • mode string or null
  • model string or null required
  • prev_hash string or null
  • provider string or null required
  • surface string required
    One of: "chat", "api", "extension", "desktop-local"
  • tier string or null required
  • tokens_in integer or null required
  • tokens_out integer or null required
  • user_id integer required
  • verifiable boolean 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

  • 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.

404 The referenced resource was not found.

application/json ReceiptsApiError

  • error object required
    • code string required
      Example: "not_found"
    • message string required
      Example: "The requested receipt was not found."
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