Retrieve Skill Version
Updated at:
Returns the metadata and scan status of a specified version.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET /skills/{skill_id}/versions/{version}
Request example
curl "$AGENTSTUDIO_URL/skills/skill_xxx/versions/1.0" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
sv = client.skills.versions.retrieve("skill_xxx", "1.0")
print(sv.version, sv.status)
SkillVersion v = client.skills().retrieveVersion("skill_xxx", "1.0");
System.out.println(v.getVersion() + " " + v.getStatus());
Response fieldsid Version ID, format: skill_id Parent skill ID type Always name / description Parsed from version Version number, generated by the server status Scan status: created_at / updated_at Creation / last update time, ISO 8601 additional_properties Returned only when | Response example |
Is this page helpful?