The whole hunk
from line 14, old and new numbered
/
lines
from line 14
1414
1515- `version: string`
1616
17 Version identifier for the skill.
17 Identifies the skill version: a version ID, or the literal `latest` for the skill's most recent version.
1818
19 Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129").
19 Requests carrying the `skills-2025-10-02` beta header address versions by their Unix epoch timestamp instead (e.g., "1759178010641129").
2020
2121## Headers
2222
from line 112
112112
113113## Returns
114114
115- `id: string`
115- `BetaSkillVersion object`
116116
117 Unique identifier for the skill version.
117 - `id: string`
118118
119 The format and length of IDs may change over time.
119 Unique identifier for this Skill Version. The id addresses the version in
120 paths and pins it in references.
120121
121- `created_at: string`
122 - `created_at: string`
122123
123 ISO 8601 timestamp of when the skill version was created.
124 ISO 8601 timestamp of when the skill was created.
124125
125- `description: string`
126 format: date-time
126127
127 Description of the skill version.
128 - `description: string`
128129
129 This is extracted from the SKILL.md file in the skill upload.
130 Description of the skill version.
130131
131- `directory: string`
132 This is extracted from the SKILL.md file in the skill upload.
132133
133 Directory name of the skill version.
134 - `name: string`
134135
135 This is the top-level directory name that was extracted from the uploaded files.
136 The Skill's immutable kebab-case slug, set at creation from the first
137 upload's SKILL.md frontmatter `name` (or its enclosing directory). Every
138 later upload must resolve to the same value. Also the top-level directory
139 of the Skill's mounted files and the base name of a downloaded archive.
136140
137- `name: string`
141 - `skill_id: string`
138142
139 Human-readable name of the skill version.
143 Unique identifier for the skill.
140144
141 This is extracted from the SKILL.md file in the skill upload.
145 The format and length of IDs may change over time.
142146
143- `skill_id: string`
147 - `type: "skill_version"`
144148
145 Identifier for the skill that this version belongs to.
149 Object type.
146150
147- `type: string`
151 For Skill Versions, this is always `"skill_version"`.
148152
149 Object type.
153 default: skill_version
150154
151 For Skill Versions, this is always `"skill_version"`.
152
153 default: skill_version
154
155- `version: string`
156
157 Version identifier for the skill.
158
159 Each version is identified by a Unix epoch timestamp (e.g., "1759178010641129").
160
161155## Example
162156
163157```bash
164158curl https://api.anthropic.com/v1/skills/$SKILL_ID/versions/$VERSION \
165159 -H 'anthropic-version: 2023-06-01' \
166 -H 'anthropic-beta: skills-2025-10-02' \
167160 -H "X-Api-Key: $ANTHROPIC_API_KEY"
168161```
169162
from line 164
171164
172165```json
173166{
174 "id": "skillver_01JAbcdefghijklmnopqrstuvw",
167 "id": "id",
175168 "created_at": "2024-10-30T23:58:27.427722Z",
176 "description": "A custom skill for doing something useful",
177 "directory": "my-skill",
178 "name": "my-skill",
169 "description": "description",
170 "name": "name",
179171 "skill_id": "skill_01JAbcdefghijklmnopqrstuvw",
180 "type": "type",
181 "version": "1759178010641129"
172 "type": "skill_version"
182173}
183174```
184175