Retrieve Skill

Updated at:

Returns skill metadata and the latest version number. The response structure is the same as Create Skill.

Prerequisites

Endpoint and authentication configured. For details, see Overview and authentication.

Endpoint

GET/skills/{skill_id}

Path parameters

skill_idstringRequired

Skill ID, format skill_xxx

Response fields

idstring

Skill ID, format: skill_xxx

typestring

Fixed value skill

namestring

Parsed from SKILL.md in the zip package

descriptionstring

Parsed from SKILL.md in the zip package

sourcestring

Source: customer (self-built) / official (Model Studio official)

statusstring

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

latest_versionstring

Latest version number. When mounting to an agent, do not lock to latest; you must specify a concrete version

created_atstring

Creation time (ISO 8601)

updated_atstring

Last update time (ISO 8601)

request_idstring

Unique identifier for this request

Request example

curl "$AGENTSTUDIO_URL/skills/skill_xxx" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"
skill = client.skills.retrieve("skill_xxx")
print(skill.name, skill.latest_version)
Skill s = client.skills().retrieve("skill_xxx");
System.out.println(s.getName() + " " + s.getLatestVersion());

Response example

{
  "id": "skill_xxx",
  "type": "skill",
  "name": "pdf3.0",
  "description": "Use this skill whenever the user wants to do anything with PDF files...",
  "source": "customer",
  "status": "active",
  "latest_version": "1.1",
  "created_at": "2026-06-16T07:56:03Z",
  "updated_at": "2026-06-16T08:12:47Z",
  "request_id": "xxx"
}