---
title: "Update skill agent"
method: PATCH
path: "/skills/{skill_id}/agents/{skill_agent_id}"
tags: ["Skill Agents"]
---

# Update skill agent

`PATCH /skills/{skill_id}/agents/{skill_agent_id}`

## Request

- Base URL: `https://api.metorial.com`
- URL: `https://api.metorial.com/skills/{skill_id}/agents/{skill_agent_id}`
- Auth: HTTP bearer

Updates the name or description for a specific skill agent.

## Path parameters

- `skill_id` string, required
- `skill_agent_id` string, required

## Headers

- `Metorial-Version` string

## Request body

- BodyRequest70
  - `name` string
  - `description` string, nullable

## Response `200`

Successful response

- SkillAgent
  - `object` 'skill.agent', required: String representing the object's type
  - `id` string, required
  - `skill_id` string, required
  - `name` string, required
  - `description` string, nullable, required
  - `slug` string, required
  - `status` 'active' | 'archived', required
  - `store_id` string, required
  - `store_item_id` string, nullable, required
  - `path` string, nullable, required
  - `document_id` string, required
  - `archived_at` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Invalid parameters or action
- `401`: Missing or invalid API key
- `403`: The key lacks permission for this resource
- `404`: No such resource
- `422`: Validation failed
- `429`: Rate limit exceeded
- `500`: Unexpected server error

---

[API](https://skmtc.dev/metorial/apis/metorial-api.md) - [All operations](https://skmtc.dev/metorial/apis/metorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metorial/apis/metorial-api/revisions/10ccc89f3eac?raw)
