Skip to main content
PATCH
cURL

Path Parameters

skillId
string<uuid>
required

The ID of the skill.

Body

application/json
files
object[]
required

Every file in the skill folder. One must be SKILL.md at the root, starting with a YAML header that sets name and description. At most 50 files, 256 KB per file and 1 MB in total.

Required array length: 1 - 1000 elements
baseVersion
integer

The version these files were edited from. If a newer version has been saved since, nothing is saved and the request fails with 409. Omit it to update regardless.

Required range: x > 0

Response

Default Response

skill
object
required
version
object
required
unchanged
boolean
required

True if the files match the latest version, in which case no new version was made and that version is returned.