Core endpoints

Base URL: https://api.callvault.dev. Curated summary for day-one integration, not a substitute for GET /v1/ops/openapi.json with an operator session.

Operator routes always use both Authorization (Auth0) and X-Broker-Tenant-Id. Control-key and broker-JWT routes use Bearer only.

MethodPathAuthSummary
GET/healthPublicLiveness check; returns { ok, service }.
POST/v1/broker/tokenControl key (bk_*), scope broker:tokenMint short-lived broker JWT for an agent_app_id and env.
POST/v1/tools/executeBroker JWTHero route: run a registered tool against a connected_account_id.
POST/v1/tools/invocations/:id/continueBroker JWTResume after operator approval for high-risk invocations.
POST/v1/tools/bootstrap-github-smokeAuth0 + X-Broker-Tenant-IdIdempotent GitHub smoke tools + policies (github.get_authenticated_user, github.create_issue).
GET/v1/agentsAuth0 + X-Broker-Tenant-IdList agent apps (agent_app_id for JWT mint).
POST/v1/agentsAuth0 + X-Broker-Tenant-Id (owner/admin)Register a new agent app.
GET/v1/api-keysAuth0 + X-Broker-Tenant-IdList control keys (prefix only).
POST/v1/api-keysAuth0 + X-Broker-Tenant-Id (owner/admin)Create bk_test_* / bk_live_* key; secret reveal-once.
POST/v1/connections/oauth/startAuth0 + X-Broker-Tenant-IdBegin GitHub OAuth; body provider github, return_url on app host.
GET/v1/connectionsAuth0 + X-Broker-Tenant-IdList connection handles (connected_account_id) for the user.
GET/v1/ops/openapi.jsonAuth0 + X-Broker-Tenant-IdFull OpenAPI document (production-safe; not public /openapi.json).

Rate limits

Tool execute and token mint routes are rate limited per tenant/IP. Expect 429 rate_limited when exceeding configured thresholds.

Vault fail-closed

If encryption vault is unavailable, execute returns 503 vault_unavailable without calling upstream SaaS APIs.