---
title: "Update agent metadata"
method: PATCH
path: "/api/v1/agents/{agentId}"
tags: ["Agents"]
---

# Update agent metadata

`PATCH /api/v1/agents/{agentId}`

Update mutable agent fields: displayName, description, capabilities, model. Validates capabilities against allowed task types.

## Path parameters

- `agentId` string, required

## Request body

- object
  - `displayName` string
  - `description` string
  - `capabilities` string[]
  - `model` string

## Response `200`

Updated agent record.

## Other responses

- `400` — Invalid capabilities or agent is archived.

## Changes

- **2026-04-14** `0d3faa6ef2db` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/humbleaf/apis/agentchain-prior-api/changes/api/v1/agents/:agentId/patch.md)

---

[API](https://skmtc.dev/humbleaf/apis/agentchain-prior-api.md) · [All operations](https://skmtc.dev/humbleaf/apis/agentchain-prior-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/humbleaf/agentchain-prior-api/revisions/33dd194c5572/schema)
