Skip to main content
PUT
Attach/detach policies on an assistant revision

Authorizations

x-api-key
string
header
required

Path Parameters

revision_id
string<uuid>
required

Body

application/json

Full-replace of an assistant revision's policy attachment.

policy_refs is the complete attached set ([] detaches all; omit to leave unchanged). policies_enabled flips the per-revision master switch; omit to leave unchanged.

policy_refs
PolicyRefSpec · object[] | null
policies_enabled
boolean | null

Response

Successful Response

The assistant revision's current policy attachment after a write/read.

revision_id
string<uuid>
required
policies_enabled
boolean
required
policy_refs
Policy Refs · object[]
inert_tool_policies
InertToolPolicy · object[]