---
title: "Patch Skill"
method: PATCH
path: "/v1/skills/{skill_id}"
tags: ["skills"]
---

# Patch Skill

`PATCH /v1/skills/{skill_id}`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/skills/{skill_id}`
- Auth: none declared

Platform staff only. The editor loads and saves SOURCE text.

## Path parameters

- `skill_id` string, required

## Request body

- SkillPatchIn: PARTIAL update. An omitted field is UNCHANGED, never cleared. `extra="forbid"` rejects unknown fields with 422 instead of ignoring them: a silently dropped field is how an editor believes it saved something it did not.
  - `label` string, nullable
  - `description` string, nullable
  - `content` string, nullable
  - `content_version` string, nullable
  - `hook` object, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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