Add a skill revision
Uploads a new zip bundle as a new revision of an existing skill. Pass the
revision you expect to replace as the required expected_revision; the
request fails with 409 if the skill has already moved past it, so the
update cannot race a concurrent write. Name and description are re-read
from the new bundle.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Skill identifier returned by create or GET /v1/skills
Query Parameters
Opaque revision token the skill must currently be at. The write applies only if it matches, so it cannot race a concurrent update.
Body
The skill bundle as a zip archive
The skill bundle, a zip archive containing SKILL.md
Response
The updated skill
Skill identifier
Skill name, read from the bundle's SKILL.md
Skill description, read from the bundle's SKILL.md
Opaque token of the revision returned in this response; the latest revision, or the specific one requested via revision
Opaque token of the skill's current latest revision; pass as expected_revision to update or delete