Reference
Receipt fields
Read every field of an exported receipt and know which ones are signed.
Where receipts come from #
Each event accepted through POST /v1/events returns a signed receipt (payload, hash, signature) that the caller can verify with attest's published key. Receipts in API responses describes it. POST /v1/traces returns the same receipt for each span.
POST /v1/witness does not return a receipt. A witness response includes each observation's receiptId.
Any receipt, including a witness receipt, can also be downloaded from the dashboard as attest-proof.json (Activity, then Download Proof JSON). Export fields describes that file.
Receipts in API responses #
The receipts array in a POST /v1/events or POST /v1/traces response has one entry per event, in request order. attest builds each entry from the record it stored, and returns it only after that record is committed. Error responses contain no receipt.
| Field | Description |
|---|---|
status | accepted when this request created the record. duplicate when an earlier request with the same eventId created it. A duplicate returns that original receipt, with the same hash and signature. |
attestation_id | Record identifier, taken from the signed payload. The same value as receipt_id in an export. |
verified_at | When attest accepted the record (ISO 8601, UTC). For a duplicate, the time of the original acceptance. |
payload | The signed canonical JSON string, exactly as stored. Verify these exact bytes and do not re-serialize them. See Signed payload: events. |
hash | SHA-256 of payload (UTF-8), lowercase hex. |
signature | Base64 RSA-SHA256 signature over the UTF-8 bytes of hash. |
signer.fingerprint | Fingerprint of the current signing key, as returned by GET /.well-known/attest-signing-key, when that key verifies the receipt. null when an earlier key signed it. The response contains no key material. |
A response receipt has no verification_scope field, but the same limits apply. See What a valid receipt proves.
{
"status": "accepted",
"attestation_id": "otlp_d364c0280e22f7b0e183a71f187b0270",
"verified_at": "2026-10-19T14:03:07.214Z",
"payload": "{\"attestation_id\":\"otlp_d364c0280e22f7b0e183a71f187b0270\",...}",
"hash": "b74becb11d03de3606d4080f4be632ad6320da244cef20651d894a6ca2a8b7f5",
"signature": "M9U1o7wgXZnxB5KI/XZMJtZhASk22ZFDfkQYVYHKgcHC...",
"signer": {
"fingerprint": "sha256:552054128c0ca6f3fe6b6ef38e062f22593705e2e10a648a20418434f53b5e12"
}
}Export fields #
| Field | Description |
|---|---|
format | Always attest-proof-export-v1. |
receipt_id | Record identifier. Events: otlp_ followed by 32 hex characters, for both OTLP and native events. Witness observations: moni_wit_ followed by a UUID. |
customer_id | Your account identifier. |
environment_id | The environment the record belongs to. |
status | verified. |
verified_at | When attest accepted the record (ISO 8601, UTC). |
billable | true when the record counted as a Verification Pass. |
metadata | Unsigned summary: source_type, event_type, action_type, actor_type, model_or_tool, outcome. |
proof.payload | The signed canonical JSON string. Verify these exact bytes and do not re-serialize them. |
proof.hash | SHA-256 of proof.payload (UTF-8), lowercase hex. |
proof.signature | Base64 RSA-SHA256 signature over the UTF-8 bytes of proof.hash. |
proof.algorithm | sha256. |
proof.signature_scheme | RSA-SHA256. |
signer | When the current key verifies the receipt: public_key, fingerprint, fingerprint_algorithm, signature_scheme, trust, and status: "key_available". Otherwise status: "historical_key_required" with null key fields. |
verification_scope | Four plain-language statements of what the receipt does and does not establish: integrity, provenance, completeness, metadata. |
{
"format": "attest-proof-export-v1",
"receipt_id": "otlp_d364c0280e22f7b0e183a71f187b0270",
"customer_id": "79e99bf5-9836-496a-a846-9533be1c4a16",
"environment_id": "1f7133e2-ec96-4c4c-89d1-ebdb7ca3dde3",
"status": "verified",
"verified_at": "2026-10-19T14:03:07.214Z",
"billable": true,
"metadata": {
"source_type": "native_json",
"event_type": "ai.agent.tool_call",
"action_type": "search",
"actor_type": "agent",
"model_or_tool": "summarizer-v2",
"outcome": "ok"
},
"proof": {
"payload": "{\"attestation_id\":\"otlp_d364c0280e22f7b0e183a71f187b0270\",...}",
"hash": "b74becb11d03de3606d4080f4be632ad6320da244cef20651d894a6ca2a8b7f5",
"signature": "M9U1o7wgXZnxB5KI/XZMJtZhASk22ZFDfkQYVYHKgcHC...",
"algorithm": "sha256",
"signature_scheme": "RSA-SHA256"
},
"signer": {
"public_key": "-----BEGIN PUBLIC KEY-----\n...",
"fingerprint": "sha256:552054128c0ca6f3fe6b6ef38e062f22593705e2e10a648a20418434f53b5e12",
"fingerprint_algorithm": "sha256-spki-der",
"signature_scheme": "RSA-SHA256",
"trust": "Confirm this fingerprint through a separately authenticated channel before trusting signer provenance.",
"status": "key_available"
},
"verification_scope": {
"integrity": "Verify the exact proof.payload bytes, hash and signature.",
"provenance": "The included public key is not independently trusted.",
"completeness": "An individual receipt does not establish sequence or complete-history coverage.",
"metadata": "Only fields inside proof.payload are signed; surrounding display metadata is not evidence."
}
}Signed payload: events #
For events from POST /v1/events, proof.payload uses the attest-native-event-v1 contract. Keys are sorted, and absent values are explicit null.
| Field | Description |
|---|---|
signing_contract | attest-native-event-v1. |
attestation_id | Same as receipt_id. |
customer_id, environment_id | Where the record belongs. |
timestamp | attest's verification time. |
event.event_type | Your eventType. |
event.source_version | Your source. |
event.action_type, event.actor_type | Your action and actorType, or unknown. |
event.model_or_tool | Your model, else tool, else null. |
event.outcome | Your outcome, or unknown. |
event.timestamp | Your timestamp, normalized to milliseconds, or null. |
event.external_event_id | Keyed pseudonym (psn_ + 64 hex) of your eventId. |
event.source_payload_hash | SHA-256 of the canonical JSON (sorted keys) of your full request body, including metadata. |
event.source_type, event.workflow_id, event.tenant_id | native_json, native_json, and your customer_id. |
event.actor_id, event.parent_event_id, event.policy_version, event.duration, event.input_hash, event.output_hash | Always null for POST /v1/events. |
{
"attestation_id": "otlp_d364c0280e22f7b0e183a71f187b0270",
"customer_id": "79e99bf5-9836-496a-a846-9533be1c4a16",
"environment_id": "1f7133e2-ec96-4c4c-89d1-ebdb7ca3dde3",
"event": {
"action_type": "search",
"actor_id": null,
"actor_type": "agent",
"duration": null,
"event_type": "ai.agent.tool_call",
"external_event_id": "psn_888f8edbc9fb78a5d50ef730f2b4b7cf0824f63145c964935efee6825661bbb5",
"input_hash": null,
"model_or_tool": "summarizer-v2",
"outcome": "ok",
"output_hash": null,
"parent_event_id": null,
"policy_version": null,
"source_payload_hash": "746008e2f5ff1714d69e8c671b4c66ab8643fdeeb3666340b22d22e8de0911e9",
"source_type": "native_json",
"source_version": "research-agent",
"tenant_id": "79e99bf5-9836-496a-a846-9533be1c4a16",
"timestamp": "2026-10-19T14:03:07.120Z",
"workflow_id": "native_json"
},
"signing_contract": "attest-native-event-v1",
"timestamp": "2026-10-19T14:03:07.214Z"
}Signed payload: witness observations #
For witness observations, proof.payload uses the attest-witness-receipt-v1 contract.
| Field | Description |
|---|---|
signing_contract | attest-witness-receipt-v1. |
attestation_id | The observation's receiptId. |
customer_id, environment_id | Where the record belongs. |
timestamp | attest's acceptance time. |
contract_version | attest-boundary-evidence-v1. |
pair_id, stage, event_id | From your observation. |
observation_timestamp | Your observation timestamp, normalized to milliseconds. |
observation_hash | SHA-256 of the canonical normalized observation. |
evidence_hash | SHA-256 of the canonical evidence. Equals evidenceHash in API responses. |
credential_id | Identifier of the API key that submitted the observation. |