attest Docs

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.

FieldDescription
eventTypeYour 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.

Example · JSON
{
  "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.

FieldDescription
receipt_idIdentifier of the record.
proof.payloadThe exact canonical JSON string that was signed.
proof.hashSHA-256 of proof.payload, as lowercase hex.
proof.signatureBase64 RSA-SHA256 signature over proof.hash.
Example · JSON (excerpt)
{
  "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.

FieldDescription
pairIdIdentifier shared by both observations, 16–128 characters of A-Z a-z 0-9 _ -.
stageassembly or delivery.
eventTypeClassification of the operation.
eventIdYour identifier for the operation.
timestampWhen the observation was made, as a UTC ISO-8601 string.
actionThe operation being performed.
evidenceA JSON object of the boundary values you want compared.
Example · JSON
{
  "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.

FieldDescription
lifecycleOPEN until finalized, then FINALIZED.
reconciliationStatusmatched, divergent, incomplete, orphaned, or null.
executionStateAlways unknown.
Example · JSON (excerpt)
{
  "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.

FieldDescription
verification_passesAll-time passes in the key's environment.
amount_usdPasses multiplied by the unit price.

Rate, exclusions, and billing behavior are in Verification Passes.

Example · JSON
{
  "customer_id": "79e99bf5-9836-496a-a846-9533be1c4a16",
  "environment_id": "1f7133e2-ec96-4c4c-89d1-ebdb7ca3dde3",
  "verification_passes": 3,
  "amount_usd": 0.003
}