Event Sentinel API
Integrate Event Sentinel monitoring data directly into your workflows. Our RESTful API provides full access to devices, metrics, predictions, alerts, and analytics.
Overview
The Event Sentinel API is organized around REST principles. It accepts JSON-encoded request bodies, returns JSON-encoded responses, and uses standard HTTP response codes and authentication.
Protocol
HTTPS only
Format
JSON
Version
v1 (stable)
Authentication
All API requests require a valid API key sent in the Authorization header using the Bearer scheme. You can generate API keys from your dashboard under Settings > API Keys.
curl https://api.eventsentinel.ai/v1/devices \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"Security: Never expose your API key in client-side code. Always make API calls from your server.
Base URL
All API requests should be made to:
https://api.eventsentinel.ai/v1Devices
Manage and query monitored devices across your infrastructure.
Monitoring
Access real-time and historical monitoring data, AI predictions, and health checks.
Alerts
Configure alert rules, manage notification channels, and query alert history.
Analytics
Access aggregated analytics, reports, and AI-driven insights.
Webhooks
Configure webhook endpoints to receive real-time event notifications.
Error Codes
Event Sentinel uses conventional HTTP status codes. Codes in the 2xx range indicate success, 4xx indicate client errors, and 5xx indicate server errors.
| Code | Meaning |
|---|---|
| 200 | OK |
| 201 | Created |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 429 | Too Many Requests |
| 500 | Internal Server Error |
Error response format
{
"error": {
"code": "invalid_parameter",
"message": "The 'status' parameter must be one of: online, offline, warning, critical",
"param": "status",
"doc_url": "https://docs.eventsentinel.ai/errors/invalid_parameter"
}
}Rate Limits
API requests are rate limited based on your plan. Rate limit information is included in response headers.
| Plan | Rate Limit |
|---|---|
| Free | 60 req/min |
| Pro | 600 req/min |
| Enterprise | 6,000 req/min |
Rate limit headers
X-RateLimit-Limit: 600
X-RateLimit-Remaining: 594
X-RateLimit-Reset: 1707746160