Replace the AI policy
Replace the policy wholesale. Every field is optional in the body, but an omitted field is CLEARED, which makes this the route to use when the policy is generated from the customer's own source of truth. To change one field while keeping the rest, use PATCH instead.
The write defaults to status: active, so the satisfiability gate binds: a policy that would leave a registered operation with no compliant route is refused with 400 policy_unsatisfiable and nothing is stored. Only active policies are enforced at routing time; draft and shadow versions are stored without taking effect.
Naming asymmetry, deliberate: top-level fields are snake_case, but values INSIDE model_classes (chain, requiredCapabilities, fallback) and the keys of features (dataCapture, markdownExtraction, assetVision, assetAnnotation, classificationEscalation, richSummary, documentClassification) stay camelCase because they pass straight to the shared policy validator.
Request
- Base URL: https://api.talonic.com
- URL: https://api.talonic.com/v1/ai/policy
- Auth: HTTP bearer
Request body
Response
The saved version plus the resulting effective policy view (the GET response body).
Changes
No recorded changes to this operation across all 1 revision of this API.