Digital Experience score (docs/scoring.md), baselines, anomalies, suggested thresholds, alerts, and hardware and network health views (E12). Tenant-scoped through the bearer token; unknown or other-tenant ids return 404. Group and fleet results never cover fewer than 5 devices.
Version 1.0.0. Download the OpenAPI specification.
Authentication: bearer.
Operations
| Method | Path | Summary |
|---|
GET | /v1/alert-rules | listAlertRules |
POST | /v1/alert-rules | createAlertRule |
PUT | /v1/alert-rules/{id}/enabled | setAlertRuleEnabled |
GET | /v1/alerts | listAlerts |
POST | /v1/alerts/{id}/acknowledge | acknowledgeAlert |
POST | /v1/alerts/{id}/resolve | resolveAlert |
POST | /v1/alerts/evaluate | evaluateAlerts |
GET | /v1/anomalies | listAnomalies |
GET | /v1/baselines | listBaselines |
GET | /v1/health/{view} | getHealthView |
GET | /v1/internal/tenants/{tenantId}/xla-metrics | One tenant's aggregate XLA metrics for a period (partner-service only) |
GET | /v1/scores/devices | Lowest-scoring devices first |
GET | /v1/scores/devices/{id} | getDeviceScore |
GET | /v1/scores/fleet | getFleetScore |
GET | /v1/scores/groups | listGroupScores |
GET | /v1/scoring/model | The active score definition (weights, bounds, version) |
GET | /v1/thresholds/suggestions | Percentile-based threshold proposals (computed, not AI-chosen) |
GET | /v1/validation/sentiment | validateAgainstSentiment |
GET /v1/alert-rules
| Status | Description | Body |
|---|
| 200 | OK | AlertRule[] |
POST /v1/alert-rules
Request body: object (JSON).
| Status | Description | Body |
|---|
| 201 | Created | AlertRule |
| 400 | Invalid rule | |
PUT /v1/alert-rules/{id}/enabled
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
Request body: object (JSON).
| Status | Description | Body |
|---|
| 200 | Updated | AlertRule |
| 404 | Not found | |
GET /v1/alerts
| Parameter | In | Type | Required | Description |
|---|
status | query | string | no | |
| Status | Description | Body |
|---|
| 200 | OK | Alert[] |
POST /v1/alerts/{id}/acknowledge
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | Alert |
| 404 | Not found | |
| 409 | Not in an acknowledgeable state | |
POST /v1/alerts/{id}/resolve
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | OK | Alert |
| 404 | Not found | |
| 409 | Already resolved | |
POST /v1/alerts/evaluate
| Status | Description | Body |
|---|
| 200 | Transitions applied in this evaluation | object[] |
GET /v1/anomalies
| Status | Description | Body |
|---|
| 200 | Device-day values far from their baseline in the worse direction | object[] |
GET /v1/baselines
| Parameter | In | Type | Required | Description |
|---|
kind | query | string | no | |
metric | query | string | no | |
days | query | integer | no | |
| Status | Description | Body |
|---|
| 200 | OK | Baseline[] |
| 400 | Unknown kind | |
GET /v1/health/{view}
| Parameter | In | Type | Required | Description |
|---|
view | path | string | yes | |
| Status | Description | Body |
|---|
| 200 | Evidence-linked health items, or network sites aggregated by device group | object[] |
| 404 | Unknown view | |
GET /v1/internal/tenants/{tenantId}/xla-metrics
One tenant's aggregate XLA metrics for a period (partner-service only)
Platform-level service token with the service-only role xla_metrics_reader (partner-service, ADR-0014). Inclusive UTC days, at most 31, cut at the current time. Every metric is null when fewer than 5 devices reported. Crashes and hangs are application crash and hang events per 100 devices per week. Not routed through the gateway.
| Parameter | In | Type | Required | Description |
|---|
tenantId | path | string | yes | |
from | query | string | yes | |
to | query | string | yes | |
| Status | Description | Body |
|---|
| 200 | Aggregates for the period | object |
| 400 | Missing, reversed or too long period | |
| 403 | Not a platform-level service token with xla_metrics_reader | |
GET /v1/scores/devices
Lowest-scoring devices first
| Parameter | In | Type | Required | Description |
|---|
days | query | integer | no | |
limit | query | integer | no | |
| Status | Description | Body |
|---|
| 200 | OK | object |
| 403 | Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled) | EntitlementRefusal |
| 503 | The tenant's entitlements could not be confirmed and nothing usable was cached, so the paid feature is refused (fail closed, ADR-0053). Retry-After is set. | EntitlementRefusal |
GET /v1/scores/devices/{id}
| Parameter | In | Type | Required | Description |
|---|
id | path | string | yes | |
days | query | integer | no | |
| Status | Description | Body |
|---|
| 200 | Score with contributing factors and evidence | DeviceScore |
| 403 | Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled) | EntitlementRefusal |
| 404 | Unknown device or no data in the window | |
| 503 | The tenant's entitlements could not be confirmed and nothing usable was cached, so the paid feature is refused (fail closed, ADR-0053). Retry-After is set. | EntitlementRefusal |
GET /v1/scores/fleet
| Status | Description | Body |
|---|
| 200 | Fleet score, or suppressed when the tenant has fewer than 5 devices | object |
| 403 | Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled) | EntitlementRefusal |
| 503 | The tenant's entitlements could not be confirmed and nothing usable was cached, so the paid feature is refused (fail closed, ADR-0053). Retry-After is set. | EntitlementRefusal |
GET /v1/scores/groups
| Parameter | In | Type | Required | Description |
|---|
days | query | integer | no | |
| Status | Description | Body |
|---|
| 200 | Groups of at least 5 devices; smaller groups merge into "(other)" | GroupScore[] |
| 403 | Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled) | EntitlementRefusal |
| 503 | The tenant's entitlements could not be confirmed and nothing usable was cached, so the paid feature is refused (fail closed, ADR-0053). Retry-After is set. | EntitlementRefusal |
GET /v1/scoring/model
The active score definition (weights, bounds, version)
| Status | Description | Body |
|---|
| 200 | OK | ModelView |
| 403 | Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled) | EntitlementRefusal |
| 503 | The tenant's entitlements could not be confirmed and nothing usable was cached, so the paid feature is refused (fail closed, ADR-0053). Retry-After is set. | EntitlementRefusal |
GET /v1/thresholds/suggestions
Percentile-based threshold proposals (computed, not AI-chosen)
| Parameter | In | Type | Required | Description |
|---|
kind | query | string | no | |
metric | query | string | no | |
| Status | Description | Body |
|---|
| 200 | OK | object[] |
GET /v1/validation/sentiment
| Parameter | In | Type | Required | Description |
|---|
minPairs | query | integer | no | |
targetRho | query | number | no | |
| Status | Description | Body |
|---|
| 200 | Spearman correlation of group scores with group survey sentiment | object |
| 403 | Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled) | EntitlementRefusal |
| 503 | The tenant's entitlements could not be confirmed and nothing usable was cached, so the paid feature is refused (fail closed, ADR-0053). Retry-After is set. | EntitlementRefusal |