Developers

API reference

Every capability is available over a token-authenticated REST API. Mint a token from your dashboard and send it as a Bearer header. Full reference docs are expanding — here are the core endpoints.

MethodEndpointDescription
GET/api/reposList repositories connected to your account.
GET/api/repos/:id/contextFetch the decision context an agent should read before acting.
POST/api/repos/:id/can-iAsk whether a proposed change is allowed under your rules and prior decisions.
POST/api/cli/preflightRun the pre-commit gate on a diff and get a pass/fail with reasons.
GET/api/repos/:id/decisionsList the decisions in the repository's engineering memory.

Authenticate with Authorization: Bearer <token>. See the docs to get set up.