透過關鍵字、分類搜尋阿里雲 Agent Skills。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求文法
GET /openapi/skills HTTP/1.1
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| keyword |
string |
否 |
搜尋關鍵字。 |
ecs |
| categoryCode |
string |
否 |
Skill 分類 Code,如果傳入多個,使用英文逗號隔開。如果是二級分類,使用 一級分類.二級分類的方式傳入。 |
compute.serverless,network |
| nextToken |
string |
否 |
下一個查詢開始 Token,取值為上一次 API 呼叫返回的 NextToken 參數值。 |
AAAAAZjtYxxxxxxxx |
| maxResults |
integer |
否 |
分頁查詢時每頁的最大項目數。最大值為 100。預設值為 20。 |
20 |
| skip |
integer |
否 |
分頁參數,跳過數目。 |
10 |
| searchMode |
string |
否 |
開啟向量搜尋的方式需指定 semantic。 |
semantic |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
53EAEBC0-4DEC-5AF4-AA21-3923D5A819C3 |
| nextToken |
string |
返回的 NextToken,用來返回更多結果。 |
AAAAAZjtYxxxxxxxx |
| maxResults |
integer |
分頁查詢時每頁的最大項目數。最大值為 100。預設值為 20。 |
20 |
| totalCount |
integer |
資料總記錄數。 |
22 |
| data |
array |
返回的 Skill 清單。 |
|
| Skill |
返回的 Skill 詳細資訊。 |
樣本
正常返回樣本
JSON格式
{
"requestId": "53EAEBC0-4DEC-5AF4-AA21-3923D5A819C3",
"nextToken": "AAAAAZjtYxxxxxxxx",
"maxResults": 20,
"totalCount": 22,
"data": [
{
"skillName": "deploy-to-vercel",
"displayName": "ECS 執行個體管理",
"description": "ECS 執行個體管理",
"categoryCode": "compute",
"categoryName": "運算",
"subCategoryCode": "ecs",
"subCategoryName": "彈性運算",
"likeCount": 128,
"installCount": 1024,
"createdAt": "2026-01-01T00:00:00Z",
"updatedAt": "2026-03-17T00:00:00Z",
"descriptionEn": "Deploy an application to Vercel, including project setup, environment configuration, and deployment monitoring.",
"nameEn": "Deploy to Vercel",
"categoryNameEn": "Compute",
"subCategoryNameEn": "Serverless",
"githubPath": "https://github.com/aliyun/alibabacloud-agent-skills/tree/master/skills/compute/deploy-to-vercel"
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | InvalidParam.NextToken | The specified NextToken is not valid. | |
| 400 | NextTokenParameterMismatch | The request uses the same nextToken as the previous request, but with different parameters. NextTokens should not be reused across non-identical requests. Each unique request must have a distinct nextToken. | |
| 500 | InternalServerError | The request has failed due to a temporary failure of the server. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。