AnthropicClaude 托管智能体

读取技能

读取一个 Skill 的详情。

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

请求参数

  • skill_idstring必填

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

返回

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

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

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

响应

HTTP 200

Successful response

application/json

名称类型说明
idstringUnique identifier for the skill. The format and length of IDs may change over time.
created_atstringISO 8601 timestamp of when the skill was created.
display_namestringHuman-readable, single-line label for the Skill. Maximum 255 characters. Always set: derived from the SKILL.md frontmatter `name` when omitted at creation. Not unique.
latest_version_idstringID of the newest Skill Version — what `latest` references resolve to. Always set: a Skill holds at least one version.
sourceobjectWhere the Skill comes from. Possible values: - `"custom"`: authored by the platform user; private to their workspace - `"anthropic"`: published by Anthropic; shared and read-only - `"anthropic_example"`: Anthropic-published sample Skill - `"plugin"`: resolved from an installed plugin
source.typestringWhere the Skill comes from. Possible values: - `"custom"`: authored by the platform user; private to their workspace - `"anthropic"`: published by Anthropic; shared and read-only - `"anthropic_example"`: Anthropic-published sample Skill - `"plugin"`: resolved from an installed plugin
typestringObject type. For Skills, this is always `"skill"`.
updated_atstringISO 8601 timestamp of when the skill was last updated.