Skip to content

Upload Skill Version

POST/v1/skills/{skill_id}/versions

Upload a new ZIP bundle as the next version (200 OK). The ZIP layout is the same as Create Skill (one top-level folder containing SKILL.md). Send default=true to make it the default version. List versions with GET /v1/skills/{skill_id}/versions, read one with GET /v1/skills/{skill_id}/versions/{version}, and download one with GET /v1/skills/{skill_id}/versions/{version}/content. Version identifiers are strings.

Path parameters

stringskill_idrequired

Skill ID (skl_ prefix).

Headers

Optional<string>Idempotency-Key

Optional. When omitted the service generates one, so a retried request can create a duplicate. Send your own stable key for retries.

Request body

multipart/form-data.

filefilesrequired

ZIP archive, up to 5 MiB.

Optional<string>default

true or false.