إنتقل إلى المحتوى الرئيسي

هذه الصفحة غير متاحة بالعربية بعد، وتُعرض بالإنجليزية.

Dexwize Scoring Service

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​

MethodPathSummary
GET/v1/alert-ruleslistAlertRules
POST/v1/alert-rulescreateAlertRule
PUT/v1/alert-rules/{id}/enabledsetAlertRuleEnabled
GET/v1/alertslistAlerts
POST/v1/alerts/{id}/acknowledgeacknowledgeAlert
POST/v1/alerts/{id}/resolveresolveAlert
POST/v1/alerts/evaluateevaluateAlerts
GET/v1/anomalieslistAnomalies
GET/v1/baselineslistBaselines
GET/v1/health/{view}getHealthView
GET/v1/internal/tenants/{tenantId}/xla-metricsOne tenant's aggregate XLA metrics for a period (partner-service only)
GET/v1/scores/devicesLowest-scoring devices first
GET/v1/scores/devices/{id}getDeviceScore
GET/v1/scores/fleetgetFleetScore
GET/v1/scores/groupslistGroupScores
GET/v1/scoring/modelThe active score definition (weights, bounds, version)
GET/v1/thresholds/suggestionsPercentile-based threshold proposals (computed, not AI-chosen)
GET/v1/validation/sentimentvalidateAgainstSentiment

GET /v1/alert-rules​

StatusDescriptionBody
200OKAlertRule[]

POST /v1/alert-rules​

Request body: object (JSON).

StatusDescriptionBody
201CreatedAlertRule
400Invalid rule

PUT /v1/alert-rules/{id}/enabled​

ParameterInTypeRequiredDescription
idpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200UpdatedAlertRule
404Not found

GET /v1/alerts​

ParameterInTypeRequiredDescription
statusquerystringno
StatusDescriptionBody
200OKAlert[]

POST /v1/alerts/{id}/acknowledge​

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200OKAlert
404Not found
409Not in an acknowledgeable state

POST /v1/alerts/{id}/resolve​

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200OKAlert
404Not found
409Already resolved

POST /v1/alerts/evaluate​

StatusDescriptionBody
200Transitions applied in this evaluationobject[]

GET /v1/anomalies​

StatusDescriptionBody
200Device-day values far from their baseline in the worse directionobject[]

GET /v1/baselines​

ParameterInTypeRequiredDescription
kindquerystringno
metricquerystringno
daysqueryintegerno
StatusDescriptionBody
200OKBaseline[]
400Unknown kind

GET /v1/health/{view}​

ParameterInTypeRequiredDescription
viewpathstringyes
StatusDescriptionBody
200Evidence-linked health items, or network sites aggregated by device groupobject[]
404Unknown 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.

ParameterInTypeRequiredDescription
tenantIdpathstringyes
fromquerystringyes
toquerystringyes
StatusDescriptionBody
200Aggregates for the periodobject
400Missing, reversed or too long period
403Not a platform-level service token with xla_metrics_reader

GET /v1/scores/devices​

Lowest-scoring devices first

ParameterInTypeRequiredDescription
daysqueryintegerno
limitqueryintegerno
StatusDescriptionBody
200OKobject
403Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled)EntitlementRefusal
503The 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}​

ParameterInTypeRequiredDescription
idpathstringyes
daysqueryintegerno
StatusDescriptionBody
200Score with contributing factors and evidenceDeviceScore
403Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled)EntitlementRefusal
404Unknown device or no data in the window
503The 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​

StatusDescriptionBody
200Fleet score, or suppressed when the tenant has fewer than 5 devicesobject
403Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled)EntitlementRefusal
503The 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​

ParameterInTypeRequiredDescription
daysqueryintegerno
StatusDescriptionBody
200Groups of at least 5 devices; smaller groups merge into "(other)"GroupScore[]
403Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled)EntitlementRefusal
503The 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)

StatusDescriptionBody
200OKModelView
403Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled)EntitlementRefusal
503The 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)

ParameterInTypeRequiredDescription
kindquerystringno
metricquerystringno
StatusDescriptionBody
200OKobject[]

GET /v1/validation/sentiment​

ParameterInTypeRequiredDescription
minPairsqueryintegerno
targetRhoquerynumberno
StatusDescriptionBody
200Spearman correlation of group scores with group survey sentimentobject
403Missing permission, or the tenant is not entitled to experience_score (error feature_not_entitled)EntitlementRefusal
503The 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