Domain name for API request: adp.intl.tencentcloudapi.com.
Creates a skill
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: CreateSkill. |
| Version | Yes | String | Common Params. The value used for this API: 2026-05-20. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| CreateType | Yes | Integer | Skill creation method, required; only allow Enumeration values:
|
| FileUrl | Yes | String | skill package file address (zip); required for both FILE_UPLOAD and AIGC |
| SpaceId | Yes | String | Workspace ID |
| DisplayDescription | No | String | skill show description |
| DisplayName | No | String | skill display name |
| IconUrl | No | String | Icon address |
| Name | No | String | Unique business identifier name of the skill (unique within the same enterprise); if not passed, it will be parsed from the skill package |
| SkillVersion | No | String | Version number |
| UpdateDescription | No | String | Version change description |
| Parameter Name | Type | Description |
|---|---|---|
| SkillId | String | Skill ID after successful creation |
| VersionId | String | Version ID after successful creation |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: adp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateSkill
<Common request parameters>
{
"LoginUin": "700***324384",
"LoginSubAccountUin": "700***324384",
"SpaceId": "default_space",
"CreateType": 2,
"Name": "skill",
"FileUrl": "/public/00skill/find-skills-0.1.0.zip",
"SkillVersion": "1.0.3",
"UpdateDescription": "*new version*",
"IconUrl": "https://example.com/icon.png",
"DisplayDescription": "skill display description example"
"DisplayName": "skill-******"
}
{
"Response": {
"SkillId": "dbc30c0f-**************-98b66bc9de94",
"VersionId": "4f6579d9-**************-115eed7001a4",
"RequestId": "9e601924-9f56-4e8e-a690-df183fb8474b"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
피드백