Skip to main content
GET
Get Receipt

Endpoint

This endpoint returns the canonical per-response proof. The receipt binds request and response hashes to the attested gateway and is signed by a key from the attestation report’s published keyset. Use the x-receipt-id header from an inference response, or use the response id.

Parameters

id
string
required
Receipt id (rcpt-...) or response id from POST /v1/chat/completions.

Example

Response

event_log entries

Verifying the Receipt

  1. Fetch and verify a fresh Attestation Report.
  2. Confirm workload_id and workload_keyset_digest match the attestation report.
  3. Verify signature under a receipt_signing_keys entry from the attested keyset.
  4. Confirm request.received.body_hash matches the request body you sent.
  5. Confirm response.returned.wire_hash matches the response bytes you received.
  6. Read upstream.verified. For a confidential response, result is verified, required is true, and session_id points to an attested session.
See Verify a Response for the full walkthrough.

Legacy Alias

GET /v1/signature/{id} returns this same receipt inside a compatibility envelope for older clients.

Attestation Report

Get Session