List Skill Versions

Updated at:

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

Returns versions in descending order by version number. Each item contains version, status, and created_at.

GET/skills/{skill_id}/versions

Path parameters

skill_idstringRequired

Skill ID, format skill_xxx

Query parameters

limitintOptionalDefault 20

Number of items per page, maximum 100

pagestringOptionalDefault —

Omit on the first call; pass next_page from the previous response for subsequent calls

Request example

curl "$AGENTSTUDIO_URL/skills/skill_xxx/versions?limit=20" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"
for sv in client.skills.versions.list("skill_xxx", limit=20):
    print(sv.version, sv.created_at)
CursorPage<SkillVersion> versions = client.skills().listVersions(
    "skill_xxx", SkillListParam.builder().limit(20).build());
for (SkillVersion sv : versions.getData()) System.out.println(sv.getVersion() + " " + sv.getCreatedAt());

Response example

{
  "data": [
    {
      "id": "skillver_xxx",
      "skill_id": "skill_xxx",
      "type": "skill_version",
      "name": "pdf3.0",
      "description": "Description parsed from SKILL.md",
      "version": "1.1",
      "status": "active",
      "created_at": "2026-06-16T08:12:47+00:00",
      "updated_at": "2026-06-16T08:14:30+00:00"
    },
    {
      "id": "skillver_xxx",
      "skill_id": "skill_xxx",
      "type": "skill_version",
      "name": "pdf3.0",
      "description": "Description parsed from SKILL.md",
      "version": "1.0",
      "status": "rejected",
      "created_at": "2026-06-16T07:56:03+00:00",
      "updated_at": "2026-06-16T07:57:42+00:00",
      "additional_properties": {
        "error_info": {
          "/index.js": "[Dangerous Tools Without Confirmation] Line 179: ...",
          "/SKILL.md": "[Dangerous Tools Without Confirmation] Line 10: ..."
        }
      }
    }
  ],
  "next_page": "xxx",
  "request_id": "xxx"
}

The response contains data (an array of Skill Version objects) and next_page. Skill Version object fields are as follows:

Response fields

dataarray<Skill Version>

Array of Skill Version objects

data[] Skill Version object fields

idstring

Version ID, format: skillver_xxx

skill_idstring

Parent skill ID

typestring

Always skill_version

namestring

Parsed from SKILL.md in the zip package

descriptionstring

Parsed from SKILL.md in the zip package

versionstring

Version number, generated by the server

statusstring

Scan status: checking / active / rejected. Only active can be mounted

created_atstring

Creation time (ISO 8601)

updated_atstring

Last update time (ISO 8601)

additional_propertiesobject

Returned only when status=rejected; contains error_info: security review issues listed by file path within the zip

next_pagestring / null

Cursor for the next page; absent or null when there is no more data

request_idstring

Unique identifier for this request