Claude Platform Docs

版本

建立技能版本
BetaSkillVersion Beta.Skills.Versions.Create(parameters, cancellationToken = default)
POST/v1/skills/{skill_id}/versions
列出技能版本
VersionListPage Beta.Skills.Versions.List(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}/versions
下載技能版本內容
HttpResponse Beta.Skills.Versions.Download(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}/versions/{version}/content

以 zip 壓縮檔形式下載技能版本的內容。

取得技能版本
BetaSkillVersion Beta.Skills.Versions.Retrieve(parameters, cancellationToken = default)
GET/v1/skills/{skill_id}/versions/{version}
刪除技能版本
BetaDeletedSkillVersion Beta.Skills.Versions.Delete(parameters, cancellationToken = default)
DELETE/v1/skills/{skill_id}/versions/{version}
Models
class BetaDeletedSkillVersion { Type = "skill_version_deleted"; ID; }
JsonElement Type = "skill_version_deleted"

Deleted object type.

For Skill Versions, this is always "skill_version_deleted".

required string ID

Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references.

class BetaSkillVersion { Type = "skill_version"; ID; CreatedAt; /* 3 more */ }
JsonElement Type = "skill_version"

Object type.

For Skill Versions, this is always "skill_version".

required string ID

Unique identifier for this Skill Version. The id addresses the version in paths and pins it in references.

required DateTimeOffset CreatedAt

ISO 8601 timestamp of when the skill was created.

formatdate-time
required string Description

Description of the skill version.

This is extracted from the SKILL.md file in the skill upload.

required string Name

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.

required string SkillID

Unique identifier for the skill.

The format and length of IDs may change over time.