Get Receipt
API Reference
Get Receipt
Fetch the signed receipt for a response, including the transparency event log.
GET
Get Receipt
Endpoint
x-receipt-id header from an inference response, or use the response id.
Parameters
Receipt id (
rcpt-...) or response id from POST /v1/chat/completions.Example
Response
| Field | Type | Description |
|---|---|---|
api_version | string | ACI version token, for example aci/1. |
receipt_id | string | Receipt id. |
chat_id | string | Chat or response id. |
workload_id | string | Must match the attestation report you verified. |
workload_keyset_digest | string | Must match the attestation report you verified. |
endpoint | string | Route served, for example /v1/chat/completions. |
method | string | HTTP method. |
served_at | number | Unix timestamp. |
event_log | array | Ordered transparency events. |
signature | string | Signature over the receipt by a key in the attested keyset. |
event_log entries
| Event | Key fields |
|---|---|
request.received | body_hash |
middleware.forwarded | body_hash |
route.selected | target_route_id |
request.forwarded | body_hash |
transparency.request_modified | Present when forwarded body differs from the received body. |
upstream.verified | provider, model_id, result, required, session_id, channel_bindings, claims |
response.received | cleartext_hash |
transparency.response_modified | Present when returned body differs from the provider response. |
response.returned | cleartext_hash, wire_hash |
Verifying the Receipt
- Fetch and verify a fresh Attestation Report.
- Confirm
workload_idandworkload_keyset_digestmatch the attestation report. - Verify
signatureunder areceipt_signing_keysentry from the attested keyset. - Confirm
request.received.body_hashmatches the request body you sent. - Confirm
response.returned.wire_hashmatches the response bytes you received. - Read
upstream.verified. For a confidential response,resultisverified,requiredistrue, andsession_idpoints to an attested session.
Legacy Alias
GET /v1/signature/{id} returns this same receipt inside a compatibility envelope for older clients.

