Get started
Concepts
Understand the objects attest works with before you send your first request.
Event #
An event is one piece of machine activity that your system represents to attest with POST /v1/events.
| Field | Description |
|---|---|
eventType | Your classification of the activity, such as ai.agent.tool_call. Letters, digits, and . _ : / -, up to 255 characters. |
All other fields are optional. See the full field list.
{
"eventType": "ai.agent.tool_call",
"eventId": "job_7f3c9a12",
"source": "research-agent",
"action": "search",
"outcome": "ok"
}Verification record #
A verification record, or receipt, is the signed record attest creates from an accepted event or witness observation and keeps in its own custody.
| Field | Description |
|---|---|
receipt_id | Identifier of the record. |
proof.payload | The exact canonical JSON string that was signed. |
proof.hash | SHA-256 of proof.payload, as lowercase hex. |
proof.signature | Base64 RSA-SHA256 signature over proof.hash. |
{
"format": "attest-proof-export-v1",
"receipt_id": "otlp_d364c0280e22f7b0e183a71f187b0270",
"status": "verified",
"verified_at": "2026-10-19T14:03:07.214Z",
"proof": {
"payload": "{\"attestation_id\":\"otlp_d364c0280e22f7b0e183a71f187b0270\",...}",
"hash": "b74becb11d03de3606d4080f4be632ad6320da244cef20651d894a6ca2a8b7f5",
"signature": "M9U1o7wgXZnxB5KI/XZMJtZhASk22ZFDfkQYVYHKgcHC...",
"algorithm": "sha256",
"signature_scheme": "RSA-SHA256"
}
}Witness observation #
A witness observation is one side of a boundary crossing. The assembly stage is recorded before the operation and the delivery stage after it.
| Field | Description |
|---|---|
pairId | Identifier shared by both observations, 16–128 characters of A-Z a-z 0-9 _ -. |
stage | assembly or delivery. |
eventType | Classification of the operation. |
eventId | Your identifier for the operation. |
timestamp | When the observation was made, as a UTC ISO-8601 string. |
action | The operation being performed. |
evidence | A JSON object of the boundary values you want compared. |
{
"pairId": "pr_9c1d4e7a2b5f8e30",
"stage": "assembly",
"eventType": "transfer.requested",
"eventId": "transfer_82",
"timestamp": "2026-10-19T14:03:07.120Z",
"action": "transfer",
"evidence": { "actionId": "transfer_82", "amount": 500, "currency": "USD" }
}Witness pair #
A witness pair holds the observations that share a pairId and, once finalized, a fixed reconciliation result.
| Field | Description |
|---|---|
lifecycle | OPEN until finalized, then FINALIZED. |
reconciliationStatus | matched, divergent, incomplete, orphaned, or null. |
executionState | Always unknown. |
{
"pairId": "pr_9c1d4e7a2b5f8e30",
"lifecycle": "FINALIZED",
"reconciliationStatus": "matched",
"assemblyObserved": true,
"deliveryObserved": true,
"finalized": true,
"executionState": "unknown",
"divergences": []
}Verification Pass #
A Verification Pass is the billable unit: one newly accepted event, OTLP span, or witness observation.
| Field | Description |
|---|---|
verification_passes | All-time passes in the key's environment. |
amount_usd | Passes multiplied by the unit price. |
Rate, exclusions, and billing behavior are in Verification Passes.
{
"customer_id": "79e99bf5-9836-496a-a846-9533be1c4a16",
"environment_id": "1f7133e2-ec96-4c4c-89d1-ebdb7ca3dde3",
"verification_passes": 3,
"amount_usd": 0.003
}