Skill
创建 Skill
上传技能包创建新技能
cURL
Copy
curl --request POST \
--url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/skills' \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'Content-Type: application/json' \
--data '
{
"file_id": "file_01JXH5K2"
}
'Copy
{
"id": "skill_01JXH5K2",
"type": "skill",
"version": "1",
"file_id": "file_01JXH5K2",
"created_at": "2026-07-20T10:00:00Z",
"updated_at": "2026-07-20T10:00:00Z",
"workspace_id": "ws_xxx",
"request_id": "req_xxx"
}