Artifacts changedapi/compliance/code/artifacts
Nearest release: v2.1.268, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+35added
Lines−12removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits10to this page, all time
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Artifacts
3url: https://platform.claude.com/docs/en/api/compliance/code/artifacts
4---
5
16# Artifacts
27
38## List Code Artifacts
from line 74
6974
7075### Headers
7176
77- `"anthropic-version": optional string`
78
79 The version of the Claude API you want to use.
80
81 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
82
7283- `"x-api-key": optional string`
7384
7485### Returns
from line 231
220231
221232### Headers
222233
234- `"anthropic-version": optional string`
235
236 The version of the Claude API you want to use.
237
238 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
239
223240- `"x-api-key": optional string`
224241
225242### Example
from line 267
250267
251268### Headers
252269
253- `"x-api-key": optional string`
270- `"anthropic-version": optional string`
254271
255### Returns
272 The version of the Claude API you want to use.
256273
257- `id: string`
274 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
258275
259 The ID of the Artifact that was deleted
276- `"x-api-key": optional string`
260277
278### Returns
279
261280- `type: "code_artifact_deleted"`
262281
263282 Constant string confirming deletion
from line 283
264283
265284 default: code_artifact_deleted
266285
286- `id: string`
287
288 The ID of the Artifact that was deleted
289
267290### Example
268291
269292```bash
from line 387
364387
365388 Response for deleting a Code Artifact.
366389
367 - `id: string`
368
369 The ID of the Artifact that was deleted
370
371390 - `type: "code_artifact_deleted"`
372391
373392 Constant string confirming deletion
374393
375394 default: code_artifact_deleted
395
396 - `id: string`
397
398 The ID of the Artifact that was deleted
376399
No line in this hunk matches that.