Base URL
All API requests should be made to:Authentication
All requests must include your API key in thex-api-key header:
Available Endpoints
POST /register-agent-run
Register a new agent session and receive a trace_id for tracking all subsequent events
POST /event
Log events throughout your agent’s reasoning loop for observability and analysis
POST /check
Validate actions before execution to prevent malicious or unintended behavior
Request Format
All POST requests should use JSON format withContent-Type: application/json:
Response Format
All successful responses return JSON with appropriate HTTP status codes:Error Handling
Errors return appropriate HTTP status codes with detailed error messages:Common Status Codes
| Status | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Invalid endpoint or resource |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
Rate Limits
API rate limits depend on your API key type:| Key Type | Requests/Minute | Requests/Hour |
|---|---|---|
| Development | 60 | 1,000 |
| Production | 600 | 10,000 |
| Enterprise | Custom | Custom |
SDK Support
Official SDKs will be available soon for popular languages:Pagination
For endpoints that return lists (future releases), pagination is handled via query parameters:limit: Number of items to return (max 100)offset: Number of items to skipcursor: Cursor for cursor-based pagination
Versioning
The API version is included in the URL path. The current version isv1.
Breaking changes will result in a new API version. Non-breaking changes may be added to the current version.
Webhooks (Coming Soon)
Future releases will support webhooks for real-time notifications:- Action blocked events
- Anomaly detection alerts
- Session completion notifications
Support
Need help with the API?- 📧 Email: zach@fabraix.com
- 📖 GitHub: Report API issues
- 💬 Slack: Join our developer community

