ListSkillFiles
Lists the files of a specified Skill.
Operation description
Prerequisites
Before you call this operation, ensure that the service provider has enabled the modification feature and configured the modification parameters when creating the service.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SkillId |
string |
Yes |
The ID of the Skill. |
06e9dca2-0ac9-4d2e-a965-e9db9c057e00 |
| Filter |
array<object> |
No |
The filter conditions. |
|
|
object |
No |
A filter object. |
||
| Value |
array |
No |
The filter values. You can specify 1 to 10 values. |
|
|
string |
No |
A filter value. |
111111 |
|
| Name |
string |
No |
No filter names are currently supported. |
111111 |
| NextToken |
string |
No |
The token that was returned from a previous call to this operation. Use this token to retrieve the next page of results. |
AAAAAVz7BQqj2xtiNSC3d3RAD38= |
| MaxResults |
integer |
No |
The maximum number of entries to return per page. Valid values: 1 to 100. Default: 20. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID of the request. |
2849EE73-AFFA-5AFD-9575-12FA886451DA |
| NextToken |
string |
The token to retrieve the next page of results. This token is returned only when more results are available. |
AAAAAWns8w4MmhzeptXVRG0PUEU= |
| MaxResults |
integer |
The maximum number of entries returned per page. |
100 |
| TotalCount |
integer |
The total number of entries that match the query. |
1 |
| SkillFiles |
array<object> |
The Skill files. |
|
|
object |
|||
| FilePath |
string |
The relative path of the file within the Skill. |
SKILL.md |
| SignedUrl |
string |
The pre-signed URL for accessing the file in OSS. |
https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/SKILL.md |
Examples
Success response
JSON format
{
"RequestId": "2849EE73-AFFA-5AFD-9575-12FA886451DA",
"NextToken": "AAAAAWns8w4MmhzeptXVRG0PUEU=",
"MaxResults": 100,
"TotalCount": 1,
"SkillFiles": [
{
"FilePath": "SKILL.md",
"SignedUrl": "https://embedding-pic.oss-cn-beijing-internal.aliyuncs.com/SKILL.md"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.