attest Docs

Billing

Verification Passes

Know what counts as a billable unit, what does not, and the current rate.

The unit #

One Verification Pass is one newly accepted record:

  • one event accepted by POST /v1/events;
  • one span accepted by POST /v1/traces;
  • one witness observation, assembly or delivery, accepted by POST /v1/witness.

The current rate is $0.001 per Verification Pass in Production. The rate is recorded on each usage row when the pass is created.

Example · Calculation
events accepted            12,000
witness round-trips         1,500  x 2 observations = 3,000
duplicates replayed           800  (not counted)
-----------------------------------------------------------
Verification Passes        15,000
amount at $0.001         $15.00

What is not counted #

RequestPasses
Duplicate event (same eventId in the same environment)0
Duplicate replay of an identical witness observation0
Rejected request (4xx or 5xx)0
Witness finalization or re-finalization0
Reads: GET /v1/witness/{pairId}, GET /usage, resumeWitness() inspection0
Public endpoints: signing key, proof inspector, health0

Witness round-trip #

A complete round-trip with prepareWitness().execute() records two observations, so it is 2 Verification Passes ($0.002 in Production). Finalization adds nothing. A pair finalized with only one observation is 1 pass.

Sandbox and Production #

Passes are counted in both environments, and GET /usage reports amount_usd for both. Only Production passes are sent to Stripe for billing. Sandbox is never billed.

Production billing is a Stripe subscription with metered usage. Each newly accepted Production pass is reported to Stripe once, with an idempotent identifier. Manage the subscription from Billing in the dashboard.