Policies
Apply a policy preset
Applies through the agent update handler, not by writing guardrail columns. A preset that wrote them directly would be a way around the guardrail widening approval flow wearing a friendlier interface.
So if the preset loosens something and your organisation gates that, you get the same 202 with a pending approval you would get from editing the agent by hand — not a quietly applied change. Pass approval_id once that approval is granted.
post/v1/agents/{agent_id}/policy-preset
Request
- Base URL: https://api.1claw.co
- URL: https://api.1claw.co/v1/agents/{agent_id}/policy-preset
- Auth: HTTP bearer
Path parameters
agent_idstring uuid required
Request body
Response
Applied
Changes
No recorded changes to this operation across all 2 revisions of this API.