Skip to main content
For service-to-service integrations, you can call the Decision API directly without MCP or OpenClaw. The public hosted base URL is https://api.axon402.com; local development typically uses http://127.0.0.1:3030.

Setup

  1. Choose your base URL:
For local development instead:
  1. Authenticate with a bearer token. AXON recognises two key types for REST integrations:
  • Operator key — the static AXON_DECISION_API_KEY. Full trust; required for /v1/operator/*, /v1/repair/*, provider registry mutations, worker triggers, and global metrics.
  • Tenant API key (axon_sk_…) — scoped to an organization (and optionally to a single wallet). Can be minted via POST /v1/api-keys. Wallet-bound keys are the runtime credential shape for /v1/ssar/fetch, /v1/budget/status, /v1/approvals/*, and /v1/receipts/*. Org-wide keys (no wallet_id) are the operator-surface credential shape for seller and control-plane routes such as /v1/services/*.
Service-to-service integrations should almost always use a tenant key so access is scoped to the caller’s org. Reserve the operator key for the on-call runbook.
Wallet-bound runtime keys are rejected on seller/control-plane routes guarded by assertOperatorSurface(...). Those calls return 403 TOOL_NOT_AVAILABLE_IN_RUNTIME_SURFACE.
POST /v1/orgs/bootstrap/browser is gated by the server-side AXON_HOSTED_BROWSER_BOOTSTRAP_DISABLED kill switch. When true, hosted deployments reject the request regardless of credentials.

Minimal Integration

Make a governed request

Direct REST calls do not inject wallet_id from a wallet-scoped API key. Send wallet_id explicitly unless the daemon’s default AGENT_WALLET_ID is already pinned to the wallet you intend to use. If you bootstrapped with npx @axon402/init, read the correct wallet_id from ~/.axon/config.json.

Check budget

Wallet-scoped tenant keys may omit wallet_id on this route; org-wide keys must provide it.

Handle approval flow

Health Checks

Only proceed if /ready returns 200. A green /health alone is not sufficient.

Operator-only endpoints

These endpoints require the static operator key. They are intended for AXON on-call operators, not for customer application code or normal tenant integrations. See the full API Reference for all endpoints.