API Reference
Authentication
All API requests require a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEYBase URL
https://api.katexs.com/v1⚠️ The Katexs API is in private beta. Request access at support@katexs.com
Endpoints
GET
/agentsList all agents in your account
POST
/agentsCreate a new agent
GET
/agents/:id/callsRetrieve call history for an agent
Errors
| Code | Meaning | Resolution |
|---|---|---|
| 400 | Bad request — malformed or missing parameters. | Check the request body against the endpoint schema. |
| 401 | Unauthorized — missing or invalid API key. | Send a valid Bearer token in the Authorization header. |
| 404 | Not found — the resource does not exist. | Verify the resource ID and that it belongs to your workspace. |
| 429 | Rate limited — too many requests. | Back off exponentially and retry after the Retry-After header. |
| 500 | Server error on the Katexs side. | Retry the request; if it persists, contact support with the request ID. |
