获取指定 Agent Skill 的 SKILL.md 文件内容
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET /openapi/skills/{skillName} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| skillName |
string |
是 |
skill name |
ecs-manager |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
1764D64D-5262-55DA-BDBF-1F949B1B34F7 |
| content |
string |
SKILL.md 文件内容 |
--- name: alibabacloud-find-skills description: "Search for official Alibaba Cloud Agent Skills based on user requirements" --- Agent Skill Body Content Here |
示例
正常返回示例
JSON格式
{
"requestId": "1764D64D-5262-55DA-BDBF-1F949B1B34F7",
"content": "---\nname: alibabacloud-find-skills\ndescription: \"Search for official Alibaba Cloud Agent Skills based on user requirements\"\n---\n\nAgent Skill Body Content Here"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | InternalServerError | The request has failed due to a temporary failure of the server. | 由于服务器暂时故障,请求失败。 |
| 500 | OperationFailed | Get skill content failed. | 获取Skill内容失败。 |
| 404 | NotFound.Skill | Specified skill not found. | 指定的Skill不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。