API endpoints
Every public call, 156 in all, read from the API's own OpenAPI 3.1 description. Pick one on the left for what it takes, what it returns, its errors, and how to make it.
https://agental.ioEvery path starts /v1; JSON in and out.
Authorization: Bearer ag_…An API key, which may make only the calls it was made for.
Idempotency-KeyOn a create: send it twice and get one sandbox.
{ "error": { "code" } }Every failure has one shape; the codes are on each call.