Skip to main content
POST
Apply only user-approved repair rules

Authorizations

Authorization
string
header
required

Enter your API key (e.g. dai_sk_test_key_001)

Headers

Authorization
string

Cookies

decimal_session
string | null

Body

application/json

Body for POST /repair/apply-selective.

old_manifest_id
string
required
new_manifest_id
string
required
approved_rule_indices
integer[]
required

Indices (from /preview's rules array) of the rules to apply

Minimum array length: 1
preview_token
string | null

Token from the matching preview; changed rules or source traces reject application with REPAIR_PREVIEW_STALE (409)

Required string length: 64
idempotency_key
string | null

Organization-scoped request key; retrying the identical reviewed request returns its durable batch receipt

Required string length: 1 - 128

Response

Successful Response