全部产品
Search
文档中心

云 Skills 门户:GetSkillContent - 获取 Agent Skill 文件内容

更新时间:Jul 04, 2026

获取指定 Agent Skill 的 SKILL.md 文件内容

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /openapi/skills/{skillName} HTTP/1.1

请求参数

名称类型必填描述示例值
skillNamestring

skill name

ecs-manager

返回参数

名称类型描述示例值
object

Schema of Response

requestIdstring

Id of the request

1764D64D-5262-55DA-BDBF-1F949B1B34F7
contentstring

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错误码错误信息描述
404NotFound.SkillSpecified skill not found.指定的Skill不存在。
500InternalServerErrorThe request has failed due to a temporary failure of the server.由于服务器暂时故障,请求失败。
500OperationFailedGet skill content failed.获取Skill内容失败。

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2026-03-25新增 OpenAPI查看变更详情