Skip to main content
Agent Access gives you an Anchor API key without creating a dashboard account. The onboarding routes are unauthenticated — no anchor-api-key header yet. You get a short puzzle, submit the answer, and receive an api_key. Then call the rest of the Anchor API like any other customer.
Live today: GET /v1/agent-access/challenge and POST /v1/agent-access.
Also available (when deployed): GET /v1/agent-access — a self-describing guide for agents, with a next field pointing at the next HTTP call.

Quick start (human or script)

The POST response includes api_key. Use it as header anchor-api-key on all later requests.

What the puzzle is

Each challenge is a multi-step problem. Use the challenge response — especially next, challenge.prompt, and instructions — then POST the final integer as answer. Challenge data expires after 120 seconds — if POST fails with an expired token, start again from step 1.

If you are an autonomous agent

Treat Agent Access as a small state machine. When a response includes next, call it. When it does not, use the other fields in that same response.

Step 1 — Challenge

GET /v1/agent-access/challenge returns:
  • challenge.prompt — the puzzle text
  • token — pass this to POST (not the answer)
  • next — when present, the next HTTP call before POST
  • instructions — hints (submit, credit amounts, headers)

Step 2 — Submit (creates the key)

POST /v1/agent-access body:
Success — you get the key plus next pointing at your first real API call:
Error — you get error, next (usually back to challenge), and docs:

Optional — Guide endpoint

GET /v1/agent-access does not create a key. It returns credits, limits, a flow array (all steps), and next → challenge. Useful when an agent discovers Anchor cold and needs the full playbook in one response.

Optional identity (1 → 5 credits)

Add identity_token on the same POST as token and answer:
  • No identity — 1 credit, anonymous trial
  • OIDC JWT with verified email — 5 credits; we know who you are
identity_provider is usually omitted — we detect the provider from the JWT iss claim (Google, GitHub Actions, Vercel). GitHub Actions tokens often have no email, so they still get 1 credit.
If the POST response sets auth.identity_token_required: true, also send header anchor-identity-token: <agent_identity_token> on later API calls (value is in the POST response).

After you have a key

Agent Access keys have a 60-minute session cap. See Perform Web Task and Create a Session.

Endpoints

  • GET /v1/agent-access — guide for agents (next → challenge). Does not issue a key.
  • GET /v1/agent-access/challenge — puzzle + token + instructions + optional next
  • POST /v1/agent-access — submit answer → api_key + next