---
title: "What a preset would change"
method: POST
path: "/v1/agents/{agent_id}/policy-preset/preview"
tags: ["Policies"]
---

# What a preset would change

`POST /v1/agents/{agent_id}/policy-preset/preview`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/agents/{agent_id}/policy-preset/preview`
- Auth: HTTP bearer

Compiles a preset against this agent and reports which fields it would
**widen** — loosen relative to what the agent can already do.

Widening detection errs toward flagging: a false positive costs one extra
approval, a false negative is a limit raised without review. Enabling a
capability widens; disabling does not. Raising a cap widens; setting a
first cap does not, because absent means unlimited.

## Path parameters

- `agent_id` string, uuid, required

## Request body

- object
  - `preset` string, required

## Response `200`

Proposal

- object
  - `preset_slug` string
  - `guardrails` object
  - `action_approval_policy` object
  - `access_policy` object
  - `widens` string[]: Fields this preset would loosen. Show these, not a generic warning.
  - `requires_guardrail_approval` boolean
  - `explanation` string

## Other responses

- `403`: Insufficient permissions
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
