API Reference
Our comprehensive API documentation provides detailed information about all our API endpoints.
Base URL
text
https://api.octyra.com/v1Authentication
All API requests must include your API key in the Authorization header using the Bearer scheme:
text
Authorization: Bearer YOUR_API_KEYKey Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v1/metrics | POST | Push metrics to Octyra |
/v1/events | POST | Push events to Octyra |
/v1/logs | POST | Push logs to Octyra |
/v1/traces | POST | Push traces to Octyra |
/v1/query | POST | Query stored data |
/v1/alerts | GET, POST, PUT, DELETE | Manage alerts |
/v1/workflows | GET, POST, PUT, DELETE | Manage workflows |
/v1/dashboards | GET, POST, PUT, DELETE | Manage dashboards |
/v1/data-sources | GET, POST, DELETE | Manage data sources |
Error Codes
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid request format |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Resource not found |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |