Skip to main content
GET
/
v1
/
dashboard
/
kpis
Get Dashboard Kpis
curl --request GET \
  --url https://api.example.com/v1/dashboard/kpis \
  --header 'Authorization: Bearer <token>'
{
  "active_issues": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "open_patterns": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "avg_risk_score": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "mttr_days": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "predictions_this_week": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "loops_prevented": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "computed_at": "<string>",
  "prediction_precision": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "lead_time_days": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "issues_open": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "issues_in_loop": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "patterns_active": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "predictions_high_prob": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "exposure_reduced_usd": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "resolution_time_avg_hours": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "connector_health_pct": {
    "key": "<string>",
    "label": "<string>",
    "value": 123,
    "delta": 123,
    "delta_period": "<string>",
    "delta_pct": 123,
    "trend": "flat",
    "unit": "<string>",
    "sparkline": [
      123
    ]
  },
  "window": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

window
string
default:30d

Response

Successful Response

KPI tiles with sparklines, deltas, and trend directions.

active_issues
KpiTile · object
required
open_patterns
KpiTile · object
required
avg_risk_score
KpiTile · object
required
mttr_days
KpiTile · object
required
predictions_this_week
KpiTile · object
required
loops_prevented
KpiTile · object
required
computed_at
string
required
prediction_precision
KpiTile · object
lead_time_days
KpiTile · object
issues_open
KpiTile · object
issues_in_loop
KpiTile · object
patterns_active
KpiTile · object
predictions_high_prob
KpiTile · object
exposure_reduced_usd
KpiTile · object
resolution_time_avg_hours
KpiTile · object
connector_health_pct
KpiTile · object
window
string | null