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 URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
Hard residency constraint. A deployment in any other region is rejected, including globally-routed ones.
Providers permitted to process this workspace's data. Null or omitted means every provider the platform permits.
Models this workspace may never be routed to, whatever else permits them. Applies to explicit requests and every fallback chain step alike.
Remap one model onto another wherever the first would be chosen.
Preferred model per speed tier where no class governs the call. Keys are fast, default, powerful.
Ceiling on provider attempts for one logical call.
How much detail Talonic spends reading an attached PDF page as an image (medium = 560 tokens per page, high = 1120). Image attachments are unaffected. Null = the deployment default. Omitting it on PUT clears it.
Named model lineage overrides. Values are camelCase: { description, chain: [{ model, deployments: [{ provider, region }] }], requiredCapabilities, fallback: chain | primary_only }.
Per-operation class overrides, keyed by operation type.
Feature toggles, camelCase keys. Absent toggles stay on.
Lifecycle state to save under. Only active is enforced at runtime.
Why this change is being made. Recorded on the stored version.
Response
The saved version plus the resulting effective policy view (the GET response body).
Changes
No recorded changes to this operation across all 32 revisions of this API.