---
title: "Update Agent"
method: PATCH
path: "/api/agents/{agent_id}"
tags: ["agents"]
---

# Update Agent

`PATCH /api/agents/{agent_id}`

## Request

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

## Path parameters

- `agent_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- AgentUpdate
  - `name` string, nullable
  - `task` string, nullable
  - `interval_minutes` integer, nullable
  - `digest_mode` 'instant' | 'hourly' | '6hourly' | 'daily', nullable
  - `digest_hour` integer, nullable
  - `relevance_threshold` integer, nullable
  - `enabled` boolean, nullable
  - `model_tier` string, nullable
  - `watch_url` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/parlel/apis/parlel-api.md) · [All operations](https://skmtc.dev/parlel/apis/parlel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/parlel/apis/parlel-api/revisions/4d41a8f5cfc9?raw)
