Skip to main content

Dexwize Recommendation Service

Evidence-backed, prioritized recommendations (E07) with an approval workflow, change records and before/after measurement. Analysts request (RemediationExecute), approvers decide (RecommendationsApprove), and the requester can never approve their own request (403). Invalid state transitions return 409. Cross-tenant access returns 404. Enums are serialized as names.

Version 1.0.0. Download the OpenAPI specification.

Authentication: bearer.

Operations​

MethodPathSummary
GET/v1/changes/{changeId}getChangeRecord
GET/v1/changes/{changeId}/packageDownload the remediation package manifest for the customer's tooling (RemediationExecute; audited)
GET/v1/impact-assumptionsgetImpactAssumptions
PUT/v1/impact-assumptionsReplace the tenant's impact assumptions; the version increments (TenantManage; audited)
GET/v1/recommendationsList recommendations by priority (FindingsRead)
GET/v1/recommendations/{id}getRecommendation
POST/v1/recommendations/{id}/approveApprove and create the change record (RecommendationsApprove; not the requester)
POST/v1/recommendations/{id}/deferdeferRecommendation
POST/v1/recommendations/{id}/implementedRecord implementation; schedules the before/after measurement 7 days later (RemediationExecute)
POST/v1/recommendations/{id}/rejectrejectRecommendation
POST/v1/recommendations/{id}/submitRequest approval (RemediationExecute)
POST/v1/recommendations/generateCreate proposals for open findings that have none (RemediationExecute); idempotent per finding

GET /v1/changes/{changeId}​

ParameterInTypeRequiredDescription
changeIdpathstringyes
StatusDescriptionBody
200OKChangeRecord
404Not found

GET /v1/changes/{changeId}/package​

Download the remediation package manifest for the customer's tooling (RemediationExecute; audited)

ParameterInTypeRequiredDescription
changeIdpathstringyes
StatusDescriptionBody
200dexwize.remediation-package.v1 manifest, SHA-256 stamped; contains no executable contentobject
404Not found

GET /v1/impact-assumptions​

StatusDescriptionBody
200OKImpactAssumptions

PUT /v1/impact-assumptions​

Replace the tenant's impact assumptions; the version increments (TenantManage; audited)

Request body: object (JSON).

StatusDescriptionBody
200SavedImpactAssumptions
400Values out of bounds
403Missing permission, or the tenant plan does not include recommendations (ADR-0053): {"error":"feature_not_entitled","feature":"recommendations"}FeatureRefusal
503Entitlements could not be confirmed and nothing usable is cached; recommendations is refused (fail closed). Retry-After is set.FeatureRefusal

GET /v1/recommendations​

List recommendations by priority (FindingsRead)

ParameterInTypeRequiredDescription
statusquerystringno
StatusDescriptionBody
200OKRecommendation[]
400Unknown status

GET /v1/recommendations/{id}​

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200OKRecommendation
404Not found

POST /v1/recommendations/{id}/approve​

Approve and create the change record (RecommendationsApprove; not the requester)

ParameterInTypeRequiredDescription
idpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200ApprovedRecommendation
403Requester cannot approve their own request, missing permission, or the tenant plan does not include recommendations (ADR-0053): {"error":"feature_not_entitled","feature":"recommendations"}FeatureRefusal
404Not found
409Not requested, invalid window, or missing rollback steps
503Entitlements could not be confirmed and nothing usable is cached; recommendations is refused (fail closed). Retry-After is set.FeatureRefusal

POST /v1/recommendations/{id}/defer​

ParameterInTypeRequiredDescription
idpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200Deferred; reopens automatically when the deferral endsRecommendation
403Missing permission, or the tenant plan does not include recommendations (ADR-0053): {"error":"feature_not_entitled","feature":"recommendations"}FeatureRefusal
409Not proposed, or the deferral end is not in the future
503Entitlements could not be confirmed and nothing usable is cached; recommendations is refused (fail closed). Retry-After is set.FeatureRefusal

POST /v1/recommendations/{id}/implemented​

Record implementation; schedules the before/after measurement 7 days later (RemediationExecute)

ParameterInTypeRequiredDescription
idpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200ImplementedRecommendation
409Not approved, or implementation time in the future

POST /v1/recommendations/{id}/reject​

ParameterInTypeRequiredDescription
idpathstringyes

Request body: object (JSON).

StatusDescriptionBody
200RejectedRecommendation
400Reason missing
403Missing permission, or the tenant plan does not include recommendations (ADR-0053): {"error":"feature_not_entitled","feature":"recommendations"}FeatureRefusal
409Not allowed in the current state
503Entitlements could not be confirmed and nothing usable is cached; recommendations is refused (fail closed). Retry-After is set.FeatureRefusal

POST /v1/recommendations/{id}/submit​

Request approval (RemediationExecute)

ParameterInTypeRequiredDescription
idpathstringyes
StatusDescriptionBody
200OKRecommendation
403Missing permission, or the tenant plan does not include recommendations (ADR-0053): {"error":"feature_not_entitled","feature":"recommendations"}FeatureRefusal
404Not found
409Not allowed in the current state
503Entitlements could not be confirmed and nothing usable is cached; recommendations is refused (fail closed). Retry-After is set.FeatureRefusal

POST /v1/recommendations/generate​

Create proposals for open findings that have none (RemediationExecute); idempotent per finding

StatusDescriptionBody
200The recommendations created by this callRecommendation[]
403Missing permission, or the tenant plan does not include recommendations (ADR-0053): {"error":"feature_not_entitled","feature":"recommendations"}FeatureRefusal
503Entitlements could not be confirmed and nothing usable is cached; recommendations is refused (fail closed). Retry-After is set.FeatureRefusal