API Reference
Complete REST API for managing agents, policies, sessions, and interventions. All endpoints return JSON with standard HTTP status codes.
Base URL​
https://api.hatiosai.com/v1
Rate Limits​
| Plan | Dashboard API | Proxy API |
|---|---|---|
| Starter | 100 req/min | 60 req/min |
| Pro | 1,000 req/min | 10,000 req/min |
| Enterprise | Custom | Custom |
Error Format​
{
"error": {
"code": "POLICY_VIOLATION",
"message": "Request blocked: amount exceeds $5,000 threshold",
"policy_id": "pol_a1b2c3d4",
"trace_id": "trace_e5f6g7h8"
}
}
Endpoints​
| Resource | Description | Auth |
|---|---|---|
| Agents | CRUD operations, key rotation | JWT |
| Policies | CRUD, testing, assignment | JWT |
| Sessions & Traces | List, detail, export | JWT |
| Interventions | List, resolve, abort | JWT |
| Proxy | OpenAI-compatible, Vertex AI | API Key |