AnthropicClaude 托管智能体
读取技能版本
读取一个 Skill 指定版本的详情。
GET
/anthropic/v1/skills/{skill_id}/versions/{version}○ 未支持请求参数
skill_idstring必填path: Skill ID(路径或查询参数)。
versionstring必填path: 路径参数:版本号。
skill_idstring必填query: Skill ID(路径或查询参数)。
返回
501 平台还没有实现这个端点;调用会得到下面这个响应:
平台还不支持上传和管理 Skills;创建智能体时传入 skills 会返回 400。调用会返回 501(not_implemented_error),不产生副作用,官方 SDK 不会重试。
错误按 Claude Managed Agents 格式返回,参见 错误码
响应
HTTP 200
Successful response
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| id | string | Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references. |
| created_at | string | ISO 8601 timestamp of when the skill was created. |
| description | string | Description of the skill version. This is extracted from the SKILL.md file in the skill upload. |
| name | string | The 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. |
| skill_id | string | Unique identifier for the skill. The format and length of IDs may change over time. |
| type | string | Object type. For Skill Versions, this is always `"skill_version"`. |