REST · /v1
One call runs a governed turn
POST a message and the agent retrieves, calls tools and queues anything outward as a proposal. The spec is generated from the routes the server actually registered, so it cannot describe one that is not there.
- OpenAPI 3.1 at GET /v1/openapi.json — point any client generator at it
- Idempotency-Key on every write: the same key and body replay the first answer with Idempotency-Replayed: true; a different body is a 409
- Answers are kept 24 hours; a 5xx is never kept, so it is safe to retry
- Out of credit is a 402 insufficient_credits, never a partial run



