Returns all versions of a skill in descending order by version number. Versions with status=rejected include additional_properties.error_info, listing security review issues by file path.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET /skills/{skill_id}/versions
Returns versions in descending order by version number. Each item contains version, status, and created_at.
Query parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
limit | No | int | 20 | Number of items per page, maximum 100 |
page | No | string | — | Omit on the first call; pass next_page from the previous response for subsequent calls |
Request example
Response example
data (an array of Skill Version objects) and next_page. Skill Version object fields are as follows:
Skill Version object fields
| Field | Type | Description |
|---|---|---|
id | string | Version ID, format: skillver_xxx |
skill_id | string | Parent skill ID |
type | string | Always skill_version |
name / description | string | Parsed from SKILL.md inside this version's zip |
version | string | Version number, generated by the server |
status | string | Scan status: checking / active / rejected. Only active can be mounted |
created_at / updated_at | string | Creation / last update time, ISO 8601 |
additional_properties | object | Returned only when status=rejected; contains error_info: security review issues listed by file path within the zip |