attest Docs

Get started

Environments

Choose between Sandbox and Production and know exactly what differs.

Overview #

Every account has two environments: Sandbox and Production. They share one base URL, one API, and identical validation. The API key decides which environment a request is recorded in, and records never cross between them.

Moving from Sandbox to Production means swapping the key. The request body, endpoint, and response shape stay the same.

Example · Shell
# Sandbox
export ATTEST_API_KEY=att_test_...

# Production: same requests, different key
export ATTEST_API_KEY=att_live_...

What differs #

SandboxProduction
Key prefixatt_test_att_live_
AvailableAs soon as your email is verifiedAfter billing is activated from the dashboard
Validation, signing, duplicate detectionSameSame
Verification PassesCounted, and amount_usd accrues for visibilityCounted and billed through Stripe
BilledNeverEach newly accepted event, span, or witness observation
Keys stop working whenThe key is revoked or the account is inactiveAlso when the subscription is past due, unpaid, or canceled

Duplicate detection is scoped per environment, so the same eventId in Sandbox and in Production produces two independent records.

Activate Production #

  1. In the dashboard, open Billing and start the subscription checkout.
  2. When Stripe confirms the subscription, the Production environment becomes active.
  3. Create a Production key under API Keys. A key cannot be created for Production before billing is active.