List Skills
Updated at:
Lists custom and official Skills with pagination and filters by source and keyword.
Endpoint
GET
/api/v1/skillsLists custom and official Skills with pagination.
Query parameters
typestringOFFICIAL or CUSTOMER. Case-sensitive. If omitted, queries both types
keywordsstringKeyword. Ignored if blank after trimming
pageNointegerPage number. Minimum 1
pageSizeintegerNumber of items per page. Valid values: 1 to 100
type=OFFICIAL: returns only non-deleted official Skills with theactivestatus.type=CUSTOMER: returns non-deleted custom Skills under the primary account and workspace, includingcheckingandrejectedstatuses.- If
typeis omitted, returns official and custom Skills in one response.totalis the total of both types.
Response fields
data is a page object. Each item in items is a SkillDTO.
itemsarray<SkillDTO>Skills on the current page
totallongTotal number of matching Skills
page_nointegerCurrent page number
page_sizeintegerNumber of items per page
If no data is found, items is an empty array and total is 0.
Example
# Official and custom Skills
curl "https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/skills?pageNo=1&pageSize=20" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
# Custom Skills filtered by keyword
curl "https://{workspace_id}.cn-beijing.maas.aliyuncs.com/api/v1/skills?type=CUSTOMER&keywords=pdf&pageNo=1&pageSize=20" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response example
{
"success": true,
"error_code": null,
"error_msg": null,
"data": {
"items": [
{
"id": "skill_abc123",
"display_name": "My Custom Skill",
"display_description": "Description",
"source": "customer",
"status": "active",
"latest_version": "1.2",
"classification": null,
"meta_info": null,
"created_at": "2026-06-15T08:23:11Z",
"updated_at": "2026-06-15T08:23:11Z"
}
],
"total": 35,
"page_no": 1,
"page_size": 20
},
"request_id": "15a89d4c-f142-4e00-a9f7-b088442417c9"
}
NoteThe list is updated asynchronously. After a Skill is created, deleted, or its status changes, the list may take a moment to reflect the latest state. Use Get a Skill as the source of truth.
Error codes
| HTTP status | error_code | Description |
|---|---|---|
| 401 | WORKSPACE_ID_ILLEGAL | Identity information is missing or invalid |
| 400 | INVALID_PARAMETER | type is not OFFICIAL or CUSTOMER, or pageNo or pageSize is not an integer, is out of range, or exceeds the pagination limit |
| 500 | SYSTEM_ERROR | The query failed or an internal error occurred |
Is this page helpful?