Authentication
Every request must include your API key in theAuthorization header:
veto_.
API keys are scoped. A key with the
read scope can call authorization and read endpoints only. A key with the admin scope has full access. Requests with insufficient scope return 403 INSUFFICIENT_SCOPE. See API Keys for details.Request format
SendContent-Type: application/json on all POST and PATCH requests. All request bodies must be valid JSON.
Response format
All responses return JSON. Successful responses return the resource or collection directly. Error responses always follow this shape:Versioning
All endpoints are versioned under/v1/. The current version is v1.
Rate limiting
If you exceed the rate limit, the API returns429 with a Retry-After header indicating how many seconds to wait before retrying.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /v1/authorize | Check if an agent can call a tool |
POST | /v1/agents | Create an agent |
GET | /v1/agents | List agents |
GET | /v1/agents/:id | Get an agent |
PATCH | /v1/agents/:id | Update an agent |
DELETE | /v1/agents/:id | Delete an agent |
POST | /v1/policies | Create a policy |
GET | /v1/policies | List policies |
GET | /v1/policies/:id | Get a policy |
PATCH | /v1/policies/:id | Update a policy |
DELETE | /v1/policies/:id | Delete a policy |
GET | /v1/audit-logs | Query audit logs |
POST | /v1/api-keys | Create an API key |
GET | /v1/api-keys | List API keys |
DELETE | /v1/api-keys/:id | Delete an API key |