Dexwize intelligence-service
WP10 (ADR-0032). E18 change impact and canary go or no-go; E19 conflict knowledge graph (opt-in, shared SaaS only); E20 security tool rationalization, software metering, hardware refresh planning and productivity value. Every endpoint is tenant-scoped through the caller's token except POST /v1/change-impact/external, which authenticates with a tenant-scoped change token in the X-Change-Token header.
Version 1.0.0. Download the OpenAPI specification.
Authentication: bearer.
Operations
| Method | Path | Summary |
|---|---|---|
GET | /v1/benchmarks | The tenant against anonymized peer percentiles (opted-in shared SaaS tenants only) |
POST | /v1/benchmarks/contribute | Contribute the tenant percentiles per device model and OS (uses the knowledge graph opt-in) |
POST | /v1/change-impact/canary | Canary versus control go or no-go |
GET | /v1/change-impact/changes | Change groups derived from inventory diffs plus external change events (last 30 days) |
POST | /v1/change-impact/changes/{key}/evaluate | Difference-in-differences impact of a change against matched unchanged devices |
GET | /v1/change-impact/changes/{key}/impact | Stored impact results for a change group |
POST | /v1/change-impact/external | External change events (Intune, GPO, update rings) pushed with a change token |
GET | /v1/change-impact/tokens | Change tokens of the tenant (never the secrets) |
POST | /v1/change-impact/tokens | Create a change token; the secret is returned once |
DELETE | /v1/change-impact/tokens/{id} | Revoke a change token |
POST | /v1/knowledge-graph/contribute | Contribute the tenant's anonymized combinations (opted-in shared SaaS tenants only) |
GET | /v1/knowledge-graph/matches | Known-bad combinations from the graph that are present in the caller's own fleet |
GET | /v1/knowledge-graph/settings | Whether the tenant contributes to the knowledge graph |
PUT | /v1/knowledge-graph/settings | Opt in or out (TenantManage; audited) |
GET | /v1/metering/unused | Installed applications not used in the last N days (per device; departments of at least five devices) |
GET | /v1/predictions | Raised failure forecasts (disk, battery, blue-screen recurrence) over the horizon (Enterprise feature predictive_failure) |
POST | /v1/predictions/notify | Send failure_predicted notifications for raised forecasts, at most once per device, component and ISO week |
GET | /v1/rationalization/security | Security agent overhead and overlap with licence savings where prices are set |
GET | /v1/refresh/plan | Upgrade, keep or replace per device, only when the data supports it |
GET | /v1/sustainability | Energy, emissions and life-extension carbon avoided as low-high ranges (Enterprise feature sustainability_reporting) |
GET | /v1/sustainability/assumptions | The tenant's sustainability assumptions (published defaults until changed) |
PUT | /v1/sustainability/assumptions | Change sustainability assumptions (TenantManage; validated and audited) |
GET | /v1/value/assumptions | The tenant's value assumptions (defaults until changed) |
PUT | /v1/value/assumptions | Change value assumptions (TenantManage; audited) |
GET | /v1/value/fixes | Value of verified fixes (recommendation-service before and after measurements) |
GET | /v1/value/prices | Per-seat monthly prices the tenant entered |
PUT | /v1/value/prices | Set per-seat prices (TenantManage; audited) |
GET | /v1/value/productivity | Hours and money lost per department as low-high ranges |
GET | /v1/warranty | Stored warranty results (serial hashes only) |
GET | /v1/warranty/consent | Vendors the tenant consented to send device serials to |
PUT | /v1/warranty/consent | Set warranty consent (tenant admin; refused on air-gapped installations) |
POST | /v1/warranty/lookup | Look up warranties; serials are used for the vendor call only and stored as tenant-salted hashes |
GET /v1/benchmarks
The tenant against anonymized peer percentiles (opted-in shared SaaS tenants only)
| Status | Description | Body |
|---|---|---|
| 200 | Published peer cells that match the tenant fleet; unavailable views explain why | BenchmarkView |
POST /v1/benchmarks/contribute
Contribute the tenant percentiles per device model and OS (uses the knowledge graph opt-in)
| Status | Description | Body |
|---|---|---|
| 200 | Outcome; refused contributions explain why | object |
POST /v1/change-impact/canary
Canary versus control go or no-go
Request body: object (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Decision with per-metric evidence | CanaryEvaluation |
| 400 | Invalid request | |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | EntitlementRefusal |
| 404 | No such change group | |
| 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/change-impact/changes
Change groups derived from inventory diffs plus external change events (last 30 days)
| Status | Description | Body |
|---|---|---|
| 200 | Change groups, newest first | ChangeGroup[] |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
POST /v1/change-impact/changes/{key}/evaluate
Difference-in-differences impact of a change against matched unchanged devices
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
key | path | string | yes |
Request body: object (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Results per metric (stored) | ImpactResult[] |
| 400 | Unknown metric | |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | EntitlementRefusal |
| 404 | No such change group for this tenant | |
| 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/change-impact/changes/{key}/impact
Stored impact results for a change group
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
key | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | Results per metric | ImpactResult[] |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
POST /v1/change-impact/external
External change events (Intune, GPO, update rings) pushed with a change token
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
X-Change-Token | header | string | yes |
Request body: object (JSON).
| Status | Description | Body |
|---|---|---|
| 202 | Accepted (idempotent per device and change) | object |
| 400 | Invalid body | |
| 401 | Missing, unknown or revoked token | |
| 429 | Rate limited |
GET /v1/change-impact/tokens
Change tokens of the tenant (never the secrets)
| Status | Description | Body |
|---|---|---|
| 200 | Tokens | ChangeToken[] |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
POST /v1/change-impact/tokens
Create a change token; the secret is returned once
Request body: object (JSON).
| Status | Description | Body |
|---|---|---|
| 201 | Created; store the token now, it is never shown again | object |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
DELETE /v1/change-impact/tokens/{id}
Revoke a change token
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
| Status | Description | Body |
|---|---|---|
| 204 | Revoked | |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | EntitlementRefusal |
| 404 | Not found or already revoked | |
| 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 |
POST /v1/knowledge-graph/contribute
Contribute the tenant's anonymized combinations (opted-in shared SaaS tenants only)
| Status | Description | Body |
|---|---|---|
| 200 | Outcome; refused contributions explain why | object |
GET /v1/knowledge-graph/matches
Known-bad combinations from the graph that are present in the caller's own fleet
| Status | Description | Body |
|---|---|---|
| 200 | Matches with the caller's own device counts | object[] |
GET /v1/knowledge-graph/settings
Whether the tenant contributes to the knowledge graph
| Status | Description | Body |
|---|---|---|
| 200 | Opt-in state | OptIn |
PUT /v1/knowledge-graph/settings
Opt in or out (TenantManage; audited)
Request body: OptIn (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Saved | OptIn |
GET /v1/metering/unused
Installed applications not used in the last N days (per device; departments of at least five devices)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
days | query | integer | no |
| Status | Description | Body |
|---|---|---|
| 200 | Report | MeteringReport |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/predictions
Raised failure forecasts (disk, battery, blue-screen recurrence) over the horizon (Enterprise feature predictive_failure)
| Status | Description | Body |
|---|---|---|
| 200 | Forecasts with their probability, basis and reasons | PredictionsView |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
POST /v1/predictions/notify
Send failure_predicted notifications for raised forecasts, at most once per device, component and ISO week
| Status | Description | Body |
|---|---|---|
| 200 | Counts of raised and sent forecasts | ForecastNotification |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/rationalization/security
Security agent overhead and overlap with licence savings where prices are set
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
days | query | integer | no |
| Status | Description | Body |
|---|---|---|
| 200 | Report | SecurityReport |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/refresh/plan
Upgrade, keep or replace per device, only when the data supports it
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
days | query | integer | no |
| Status | Description | Body |
|---|---|---|
| 200 | One recommendation per device | RefreshRecommendation[] |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/sustainability
Energy, emissions and life-extension carbon avoided as low-high ranges (Enterprise feature sustainability_reporting)
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
days | query | integer | no | Measurement window for active hours, clamped to 7-180 |
| Status | Description | Body |
|---|---|---|
| 200 | Report with every assumption and the method | SustainabilityReport |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/sustainability/assumptions
The tenant's sustainability assumptions (published defaults until changed)
| Status | Description | Body |
|---|---|---|
| 200 | Assumptions | SustainabilityAssumptions |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
PUT /v1/sustainability/assumptions
Change sustainability assumptions (TenantManage; validated and audited)
Request body: SustainabilityAssumptions (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Saved | SustainabilityAssumptions |
| 400 | Invalid assumptions | |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/value/assumptions
The tenant's value assumptions (defaults until changed)
| Status | Description | Body |
|---|---|---|
| 200 | Assumptions | ValueAssumptions |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
PUT /v1/value/assumptions
Change value assumptions (TenantManage; audited)
Request body: ValueAssumptions (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Saved | ValueAssumptions |
| 400 | Invalid assumptions | |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/value/fixes
Value of verified fixes (recommendation-service before and after measurements)
| Status | Description | Body |
|---|---|---|
| 200 | Value per verified fix | FixValue[] |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/value/prices
Per-seat monthly prices the tenant entered
| Status | Description | Body |
|---|---|---|
| 200 | Prices | SeatPrices |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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 |
PUT /v1/value/prices
Set per-seat prices (TenantManage; audited)
Request body: SeatPrices (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Saved | SeatPrices |
| 400 | Invalid prices | |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/value/productivity
Hours and money lost per department as low-high ranges
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
days | query | integer | no |
| Status | Description | Body |
|---|---|---|
| 200 | Report | ProductivityReport |
| 400 | days outside 1-90 | |
| 403 | The caller lacks the permission (empty body), or the tenant's plan, add-ons, licence and overrides do not include the feature (error feature_not_entitled, ADR-0053). | 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/warranty
Stored warranty results (serial hashes only)
| Status | Description | Body |
|---|---|---|
| 200 | One record per device | WarrantyRecord[] |
GET /v1/warranty/consent
Vendors the tenant consented to send device serials to
| Status | Description | Body |
|---|---|---|
| 200 | Consent | WarrantyConsent |
PUT /v1/warranty/consent
Set warranty consent (tenant admin; refused on air-gapped installations)
Request body: WarrantyConsent (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Saved | WarrantyConsent |
| 400 | Not allowed on this installation |
POST /v1/warranty/lookup
Look up warranties; serials are used for the vendor call only and stored as tenant-salted hashes
Request body: object (JSON).
| Status | Description | Body |
|---|---|---|
| 200 | Counts per outcome | object |
| 400 | Batch too large or air-gapped installation |