### Headers ### Headers ### Headers ### Headers
The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Versions
3url: https://platform.claude.com/docs/en/api/skills/versions
4---
5
16# Versions
27
38## Create Skill Version
from line 19
1419
1520 The format and length of IDs may change over time.
1621
22### Headers
23
24- `"anthropic-workspace-id": optional string`
25
1726### Body parameters (form-data)
1827
1928- `files: array of string`
from line 35
2635
2736- `SkillVersion object`
2837
38 - `type: "skill_version"`
39
40 Object type.
41
42 For Skill Versions, this is always `"skill_version"`.
43
44 default: skill_version
45
2946 - `id: string`
3047
3148 Unique identifier for this Skill Version. The id addresses the version in
from line 73
5673
5774 The format and length of IDs may change over time.
5875
59 - `type: "skill_version"`
60
61 Object type.
62
63 For Skill Versions, this is always `"skill_version"`.
64
65 default: skill_version
66
6776### Example
6877
6978```bash
from line 124
115124
116125 Optionally set to the `next_page` token from the previous response.
117126
127### Headers
128
129- `"anthropic-workspace-id": optional string`
130
118131### Returns
119132
120133- `data: array of SkillVersion`
from line 134
121134
122135 List of skills.
123136
137 - `type: "skill_version"`
138
139 Object type.
140
141 For Skill Versions, this is always `"skill_version"`.
142
143 default: skill_version
144
124145 - `id: string`
125146
126147 Unique identifier for this Skill Version. The id addresses the version in
from line 172
151172
152173 The format and length of IDs may change over time.
153174
154 - `type: "skill_version"`
155
156 Object type.
157
158 For Skill Versions, this is always `"skill_version"`.
159
160 default: skill_version
161
162175- `next_page: string or null`
163176
164177 Token for fetching the next page of results.
from line 224
211224
212225 Requests carrying the `skills-2025-10-02` beta header address versions by their Unix epoch timestamp instead (e.g., "1759178010641129").
213226
227### Headers
228
229- `"anthropic-workspace-id": optional string`
230
214231### Returns
215232
216233- `SkillVersion object`
217234
235 - `type: "skill_version"`
236
237 Object type.
238
239 For Skill Versions, this is always `"skill_version"`.
240
241 default: skill_version
242
218243 - `id: string`
219244
220245 Unique identifier for this Skill Version. The id addresses the version in
from line 270
245270
246271 The format and length of IDs may change over time.
247272
248 - `type: "skill_version"`
249
250 Object type.
251
252 For Skill Versions, this is always `"skill_version"`.
253
254 default: skill_version
255
256273### Example
257274
258275```bash
from line 311
294311
295312 Requests carrying the `skills-2025-10-02` beta header address versions by their Unix epoch timestamp instead (e.g., "1759178010641129").
296313
314### Headers
315
316- `"anthropic-workspace-id": optional string`
317
297318### Returns
298319
299320- `DeletedSkillVersion object`
300321
301 - `id: string`
302
303 Unique identifier for this Skill Version. The id addresses the version in
304 paths and pins it in references.
305
306322 - `type: "skill_version_deleted"`
307323
308324 Deleted object type.
from line 327
311327
312328 default: skill_version_deleted
313329
330 - `id: string`
331
332 Unique identifier for this Skill Version. The id addresses the version in
333 paths and pins it in references.
334
314335### Example
315336
316337```bash
from line 356
335356
336357- `DeletedSkillVersion object`
337358
338 - `id: string`
339
340 Unique identifier for this Skill Version. The id addresses the version in
341 paths and pins it in references.
342
343359 - `type: "skill_version_deleted"`
344360
345361 Deleted object type.
from line 364
348364
349365 default: skill_version_deleted
350366
367 - `id: string`
368
369 Unique identifier for this Skill Version. The id addresses the version in
370 paths and pins it in references.
371
351372### Skill Version
352373
353374- `SkillVersion object`
354375
376 - `type: "skill_version"`
377
378 Object type.
379
380 For Skill Versions, this is always `"skill_version"`.
381
382 default: skill_version
383
355384 - `id: string`
356385
357386 Unique identifier for this Skill Version. The id addresses the version in
from line 410
381410 Unique identifier for the skill.
382411
383412 The format and length of IDs may change over time.
384
385 - `type: "skill_version"`
386
387 Object type.
388
389 For Skill Versions, this is always `"skill_version"`.
390
391 default: skill_version
392413