AnthropicClaude 托管智能体

列出技能版本

列出一个 Skill 的全部版本。

GET /anthropic/v1/skills/{skill_id}/versions○ 未支持

请求参数

  • skill_idstring必填

    path: Skill ID(路径或查询参数)。

  • limitnumber可选

    query: 每页返回的条数上限。

  • pagestring可选

    query: 分页游标,取自上一页响应的 next_page。

返回

501 平台还没有实现这个端点;调用会得到下面这个响应:

平台还不支持上传和管理 Skills;创建智能体时传入 skills 会返回 400。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。

错误按 Claude Managed Agents 格式返回,参见 错误码

响应

HTTP 200

Successful response

application/json

名称类型说明
dataarray<object>
data[].idstringUnique identifier for this Skill Version. The id addresses the version in paths and pins it in references.
data[].created_atstringISO 8601 timestamp of when the skill was created.
data[].descriptionstringDescription of the skill version. This is extracted from the SKILL.md file in the skill upload.
data[].namestringThe Skill's immutable kebab-case slug, set at creation from the first upload's SKILL.md frontmatter `name` (or its enclosing directory). Every later upload must resolve to the same value. Also the top-level directory of the Skill's mounted files and the base name of a downloaded archive.
data[].skill_idstringUnique identifier for the skill. The format and length of IDs may change over time.
data[].typestringObject type. For Skill Versions, this is always `"skill_version"`.
next_pagestring | null