List versions
Updated at:
Lists Skill versions with pagination. Newer versions come first.
Endpoint
GET
/api/v1/skills/{skill_id}/versionsLists Skill versions with pagination. Newer versions come first. For a custom Skill, returns all non-deleted versions, including checking and rejected statuses. For an official Skill, returns only active versions.
Path parameters
skill_idstringRequiredSkill ID
Query parameters
pageNointegerOptionalPage number. Default 1. Minimum 1
pageSizeintegerOptionalNumber of items per page. Default 20. Valid values: 1 to 100
Response fields
data is a page object. Each item in items is a SkillVersionDTO.
itemsarray<SkillVersionDTO>Versions on the current page
totallongTotal number of versions
page_nointegerCurrent page number
page_sizeintegerNumber of items per page
Example
curl "https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/skills/skill_abc123/versions?pageNo=1&pageSize=10" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response example
{
"success": true,
"error_code": null,
"error_msg": null,
"data": {
"items": [
{
"id": "skillver_NWQ3YmQ1OTRjNGFmxxxxxx",
"type": "skill_version",
"skill_id": "skill_abc123",
"display_name": "workflow-automation",
"display_description": "Chains multiple skills into an automated workflow",
"version": "1.0",
"status": "rejected",
"created_at": "2026-05-11T09:25:43Z",
"updated_at": "2026-05-11T09:31:01Z",
"additional_properties": {
"error_info": {
"/index.js": "[Dangerous Tools Without Confirmation] Line 179: ...",
"/SKILL.md": "[Dangerous Tools Without Confirmation] Line 10: ..."
}
}
}
],
"total": 1,
"page_no": 1,
"page_size": 10
},
"request_id": "28e054b1-2cc4-4e0f-bac5-0c1395b1d7ae"
}
Error codes
| HTTP status | error_code | Description |
|---|---|---|
| 401 | WORKSPACE_ID_ILLEGAL | Identity information is missing or invalid |
| 400 | SKILL_ID_IS_NULL | skill_id is blank |
| 400 | INVALID_PARAMETER | pageNo or pageSize is not an integer, is out of range, or exceeds the pagination limit |
| 500 | SKILL_NOT_EXIST | The Skill does not exist, is deleted, or is inaccessible |
Is this page helpful?