Listing Resources Bound to an Enterprise-developed Skill
Function
This API is used to list resources bound to an enterprise-developed skill.
Debugging
You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, the following identity policy-based permissions are required.
Action
Access Level
Resource Type (*: required)
Condition Key
Alias
Dependencies
workspace:agentSkill:listSkillResources
List
-
-
-
-
URI
GET /v3/ai-agents/skills/{skill_id}/resources
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| skill_id | Yes | String | Skill ID. |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| version | No | String | Skill version. |
| offset | No | Integer | Offset. The default value is 0. |
| limit | No | Integer | Page size. The default value is 20. |
Request Parameters
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| X-Request-Id | String | - |
| Parameter | Type | Description |
|---|---|---|
| total | Integer | Total quantity. |
| items | Array of SkillResourceItemVO objects | Resources bound to the skill. |
| Parameter | Type | Description |
|---|---|---|
| id | String | Resource record ID. |
| resource_type | String | Resource type. The value can be DESKTOP or DESKTOP_TAG. |
| resource_id | String | Resource ID. For DESKTOP, the value is an instance ID (instance_id). For DESKTOP_TAG, the value is a tag (key:value). |
| resource_name | String | Resource name. For DESKTOP, the value is an instance name. For DESKTOP_TAG, the value is a tag. |
| skill_version | String | Skill version. |
| create_time | String | Creation time (UTC time in ISO 8601 format). |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| X-Request-Id | String | - |
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 401
| Parameter | Type | Description |
|---|---|---|
| X-Request-Id | String | - |
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 403
| Parameter | Type | Description |
|---|---|---|
| X-Request-Id | String | - |
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 404
| Parameter | Type | Description |
|---|---|---|
| X-Request-Id | String | - |
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Status code: 500
| Parameter | Type | Description |
|---|---|---|
| X-Request-Id | String | - |
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code, which is returned upon failure. |
| error_msg | String | Error message. |
Example Requests
/v3/ai-agents/skills/skill-uuid-002/resources?version=1.0.0&offset=0&limit=20
Example Responses
Status code: 200
{
"items" : [ {
"id" : "132",
"resource_type" : "DESKTOP",
"resource_id" : "6498e59f-8b7a-4b75-b73f-c12a7dc9b525",
"resource_name" : "ydc00002",
"skill_version" : "1.0.0",
"create_time" : "2026-06-29T11:11:36Z"
}, {
"id" : "145",
"resource_type" : "DESKTOP_TAG",
"resource_id" : "env:production",
"resource_name" : "env:production",
"skill_version" : "1.0.0",
"create_time" : "2026-06-30T08:00:00Z"
} ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 500 | Internal Server Error |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot