Dashboard & Analytics API¶
Endpoints for retrieving system health scores, service reliability metrics, trend analysis, MTTR, and deployment data.
These endpoints power the SerOps dashboard and provide aggregated insights across all projects and services.
System Health¶
Returns the overall system health score and breakdown by category.
Service Reliability¶
Returns per-service reliability scores based on recent batch analysis.
Trend Analysis¶
Returns issue counts over time, grouped by severity. Useful for visualising whether issue volume is increasing or decreasing.
MTTR Statistics¶
Returns Mean Time To Resolution metrics, showing how quickly issues are being resolved across the organisation.
Service Health Map¶
Returns heatmap data for all services, showing health status across time periods.
Root Cause Statistics¶
Returns the distribution of root cause categories (e.g., memory, CPU, database, network).
Recent Deployments¶
Returns the latest deployment events across all projects. Useful for correlating deployments with issue spikes.
Correlation Insights¶
Returns correlation insights linking issues to infrastructure metrics, code changes, and deployments.
Recent AI Analysis Feed¶
Returns a feed of the most recent AI analyses performed across all projects.
Host Discovery¶
Returns discovered hosts and their metadata, based on log data analysis.
Node Memory Metrics¶
Returns raw node memory + swap samples from the configured metric provider. Useful for building custom charts alongside the batch view.
Node CPU Metrics¶
Returns raw node CPU samples from the configured metric provider.
Log Ingest (Fluentd)¶
Endpoint that accepts log documents from a Fluentd forwarder. Used only by the self-managed data-collection agent; regular API clients should query batches instead.
Recommendation Stats¶
Returns statistics on AI-generated recommendations (total, accepted, dismissed).
Issue Stats¶
Returns aggregate issue statistics (open, resolved, muted counts) across the organisation.
Sentinel Stats¶
Returns Sentinel decision distribution and AI savings statistics.
Query parameters:
| Parameter | Type | Default | Description |
|---|---|---|---|
days |
integer | 7 | Lookback period in days |
environment |
string | all | Filter by environment name |
Response:
{
"period_days": 7,
"total_batches": 150,
"decisions": {
"alert": 18,
"quiet": 120,
"first": 5,
"shadow": 7
},
"ai_analyzed": 30,
"ai_skipped": 120,
"skip_rate_percent": 80.0,
"estimated_tokens_saved": 1440000
}
| Field | Description |
|---|---|
decisions |
Count of each sentinel decision type |
ai_analyzed |
Batches that received full AI analysis |
ai_skipped |
Batches where AI was skipped (active mode, quiet decision) |
skip_rate_percent |
Percentage of batches that skipped AI |
estimated_tokens_saved |
Average tokens per analysis × skipped count |
Related¶
- Issues -- Individual issue management and resolution
- Batches & Data -- Source batch data behind analytics
- Projects & Services -- Projects and services being tracked
- API Overview -- Base URL, response format, and error codes