Create Agent Access project
Issue an Agent Access API key. Submit the challenge token and computed integer answer
from GET /v1/agent-access/challenge. GET on this path returns a guide, not a key.
Optional identity_token as an OIDC JWT grants more credits. identity_provider is optional
when the JWT iss is Google (https://accounts.google.com), GitHub Actions
(https://token.actions.githubusercontent.com), or Vercel (https://vercel.com).
Returns api_key for header anchor-api-key.
Docs: https://docs.anchorbrowser.io/quickstart/agent-access
Body
Token returned by GET /v1/agent-access/challenge. Not the puzzle answer.
1Final integer from the challenge prompt, as a string.
1Optional when identity_token is an OIDC JWT whose iss matches a known provider (google, github, or vercel). Required for opaque OAuth access tokens (google or github).
OIDC JWT preferred (iss auto-detected). GitHub Actions — GET $ACTIONS_ID_TOKEN_REQUEST_URL with Authorization bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN. Google — ID token JWT. Vercel — Sign in with Vercel user ID token (iss https://vercel.com). Opaque OAuth access tokens also work with identity_provider set.
Optional. Pin the JWT aud claim. Omit unless you requested a specific aud.
Response
API key issued. Follow next to make an authenticated call.
API key for authenticated requests. Send as header anchor-api-key.
Anchor project id created or reused for this onboarding.
Credits added by this POST. 0 when the Agent Access project already existed for this owner.
Human-readable guide URL for Agent Access.
When present, send as header anchor-identity-token on later API calls when auth.identity_token_required is true.

