---
title: "Set Approval Mode"
method: POST
path: "/api/agents/{agent_id}/approval-modes"
---

# Set Approval Mode

`POST /api/agents/{agent_id}/approval-modes`

## Request

- Base URL: `https://authyouragent.com` (the document declares no server; this is the origin it was published from)
- URL: `https://authyouragent.com/api/agents/{agent_id}/approval-modes`
- Auth: none declared

Only the owner, signed in to the app, can change a mode: an agent has
no way to call this (agent JWTs are not accepted here).

## Path parameters

- `agent_id` string, required

## Request body

- ApprovalModeIn
  - `site` string
  - `mode` string, nullable
  - `hourly_limit` integer, nullable
  - `pause_scope` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice.md) · [All operations](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice/llms.txt) · [OpenAPI document](https://skmtc.dev/authyouragent/apis/auth-your-agent-cloud-slice/revisions/196372971a43?raw)
