Uploads a new version zip package for an existing skill. The version number is generated by the server; the new version also undergoes a security scan; agents mounted with older versions are not affected.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication. Before uploading a new version, upload the zip package via File to obtain a file_id.
Endpoint
POST /skills/{skill_id}/versions
The request body contains only file_id. The version number is generated by the server; the new version also undergoes a security scan; agents mounted with older versions are not affected.
Request example
Response fieldsidstringVersion ID, format: skillver_xxxskill_id stringParent skill IDtype stringAlways skill_versionname / description stringParsed from SKILL.md inside this version's zipversion stringVersion number, generated by the serverstatus stringScan status: checking / active / rejected. Only active can be mountedcreated_at / updated_at stringCreation / last update time, ISO 8601additional_properties objectReturned only when status=rejected; contains error_info: security review issues listed by file path within the zip | Response example |