Get version details
Updated at:
Gets the metadata and scan status of a Skill version.
Endpoint
GET
/api/v1/skills/{skill_id}/versions/{version}Gets a version. The version number must match exactly. The API does not fall back to the latest version.
For an official Skill, only active versions can be retrieved. Other statuses are treated as nonexistent. Deleted versions are treated as nonexistent.
Path parameters
skill_idstringRequiredSkill ID
versionstringRequiredVersion number, such as 1.0
Response fields
Returns a SkillVersionDTO.
idstringUnique version ID
typestringAlways skill_version
skill_idstringID of the parent Skill
display_namestringDisplay name of the version
display_descriptionstringDisplay description of the version
versionstringVersion number
statusstringVersion status
created_atstringCreation time
updated_atstringUpdate time
additional_propertiesobject / nullAdditional properties. Contains error_info when the security scan fails
Example
curl "https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/skills/skill_abc123/versions/1.0" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response example
{
"success": true,
"error_code": null,
"error_msg": null,
"data": {
"id": "skillver_xxxxxxxxxxxxxxxxxxxxxx",
"type": "skill_version",
"skill_id": "skill_abc123",
"display_name": "My Custom Skill",
"display_description": "Description parsed from SKILL.md",
"version": "1.0",
"status": "checking",
"created_at": "2026-06-15T08:23:11Z",
"updated_at": "2026-06-15T08:23:11Z",
"additional_properties": null
},
"request_id": "15a89d4c-f142-4e00-a9f7-b088442417c9"
}
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 | SKILL_VERSION_IS_NULL | version is blank |
| 500 | SKILL_NOT_EXIST | The Skill does not exist, is deleted, or is inaccessible |
| 500 | SKILL_VERSION_NOT_EXIST | The version does not exist, is deleted, or is a non-active version of an official Skill |
Is this page helpful?