The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Code
3url: https://platform.claude.com/docs/en/api/compliance/code
4---
5
16# Code
27
38## Code › Artifacts
from line 76
7176
7277#### Headers
7378
79- `"anthropic-version": optional string`
80
81 The version of the Claude API you want to use.
82
83 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
84
7485- `"x-api-key": optional string`
7586
7687#### Returns
from line 233
222233
223234#### Headers
224235
236- `"anthropic-version": optional string`
237
238 The version of the Claude API you want to use.
239
240 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
241
225242- `"x-api-key": optional string`
226243
227244#### Example
from line 269
252269
253270#### Headers
254271
255- `"x-api-key": optional string`
272- `"anthropic-version": optional string`
256273
257#### Returns
274 The version of the Claude API you want to use.
258275
259- `id: string`
276 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
260277
261 The ID of the Artifact that was deleted
278- `"x-api-key": optional string`
262279
280#### Returns
281
263282- `type: "code_artifact_deleted"`
264283
265284 Constant string confirming deletion
266285
267286 default: code_artifact_deleted
287
288- `id: string`
289
290 The ID of the Artifact that was deleted
268291
269292#### Example
270293