Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

Artifacts changedapi/compliance/code/artifacts

Nearest release: v2.1.245, published 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+47added
Lines−30removed
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

### Query parameters ### Headers #### Response (200) ### Path parameters ### Headers ### Path parameters ### Headers #### Response (200) ## Domain types ### Query Parameters ### Header Parameters #### Response ### Path Parameters ### Header Parameters ### Path Parameters ### Header Parameters #### Response ## Domain Types

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Artifacts
3url: https://platform.claude.com/docs/en/api/compliance/code/artifacts
4---
5 
61# Artifacts
72 
83## List Code Artifacts
94 
10**get** `/v1/compliance/apps/code/artifacts`
5**GET** `/v1/compliance/apps/code/artifacts`
116 
127List Claude Code Artifacts owned by organizations under the parent
138organization.
from line 17
2217Artifacts owned by a since-deleted child organization are not
2318returned.
2419 
25### Query Parameters
20### Query parameters
2621 
2722- `limit: optional number`
2823 
2924 Maximum results (default: 20, max: 100)
3025 
26 default: 20, maximum: 100, minimum: 1
27 
3128- `organization_ids: optional array of string`
3229 
3330 Filter by organization IDs (accepts `org_...` or organization UUID, up to 500). Enumerate IDs via `GET /v1/compliance/organizations`.
3431 
32 maxItems: 500
33 
3534- `page: optional string`
3635 
3736 Opaque pagination token from a previous response's `next_page` field. Pass this to retrieve the next page of results. Clients should treat this value as an opaque string and not attempt to parse or interpret its contents, as the format may change without notice.
3837 
39- `updated_at: optional object { gt, gte, lt, lte }`
38- `updated_at: optional object`
4039 
4140 - `gt: optional string`
4241 
4342 Return only Artifacts updated after this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.
4443 
44 format: date-time
45 
4546 - `gte: optional string`
4647 
4748 Return only Artifacts updated at or after this time (RFC 3339 format). Time filters match an eventually-consistent index and Artifacts published before this field was recorded never match — omit the time filter for compliance-complete enumeration. For incremental export, apply a generous overlap margin between windows and dedupe by `id`: adjacent tiling silently misses items whose index update lagged their publish.
4849 
50 format: date-time
51 
4952 - `lt: optional string`
5053 
5154 Return only Artifacts updated before this time (RFC 3339 format). Multiple time operators are AND-ed to the tightest bound. See `updated_at.gte` for the completeness caveat.
5255 
56 format: date-time
57 
5358 - `lte: optional string`
5459 
5560 Return only Artifacts updated at or before this time (RFC 3339 format). See `updated_at.gte` for the completeness caveat.
5661 
62 format: date-time
63 
5764- `user_ids: optional array of string`
5865 
5966 Filter by owner user IDs (up to 200). Enumerate IDs via `GET /v1/compliance/organizations/{org_uuid}/users`.
6067 
61### Header Parameters
68 maxItems: 200
6269 
70### Headers
71 
6372- `"x-api-key": optional string`
6473 
6574### Returns
6675 
67- `data: array of object { id, organization_uuid, owner_user_id, 5 more }`
76- `data: array of object`
6877 
6978 Page of Artifacts
7079 
from line 109
100109 
101110 Artifact last update timestamp, or null for Artifacts published before this field was recorded
102111 
103 - `user: object { id, email_address } or null`
112 format: date-time
104113 
114 - `user: object or null`
115 
105116 The user who owns a Code Artifact.
106117 
107118 Fields that reference this type are null when the Artifact was
from line 128
117128 
118129 User's email address
119130 
120 - `versions: array of object { id, created_at, name }`
131 - `versions: array of object`
121132 
122133 Up to roughly 20 most-recently-published versions of this Artifact (older versions are not retained). Metadata only — use `GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` to download a version's content.
123134 
from line 140
129140 
130141 When this version was published
131142 
143 format: date-time
144 
132145 - `name: string`
133146 
134147 Artifact title at this version. Falls back to the version identifier when the title for an older version is no longer retained.
from line 156
143156 
144157### Example
145158 
146```http
159```bash
147160curl https://api.anthropic.com/v1/compliance/apps/code/artifacts \
148161 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
149162```
150163 
151#### Response
164#### Response (200)
152165 
153166```json
154167{
from line 193
180193 
181194## Download Code Artifact Version Content
182195 
183**get** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
196**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}`
184197 
185198Streams the content of one version of a Claude Code Artifact as the
186199response body.
from line 208
195208only truncation signal for encoded content. `Content-MD5` is emitted
196209only for identity-stored content; validate against it when present.
197210 
198### Path Parameters
211### Path parameters
199212 
200213- `artifact_id: string`
201214 
from line 218
205218 
206219 Opaque version identifier from the Artifact's `versions` list
207220 
208### Header Parameters
221### Headers
209222 
210223- `"x-api-key": optional string`
211224 
212225### Example
213226 
214```http
227```bash
215228curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/versions/$VERSION_ID \
216229 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
217230```
from line 231
218231 
219232## Delete Code Artifact
220233 
221**delete** `/v1/compliance/apps/code/artifacts/{artifact_id}`
234**DELETE** `/v1/compliance/apps/code/artifacts/{artifact_id}`
222235 
223236Permanently deletes a Code Artifact and all its versions. This is a
224237destructive operation that cannot be undone. A 200 response means the
from line 242
229242organization. Returns 404 on a repeated delete of an already-deleted
230243Artifact.
231244 
232### Path Parameters
245### Path parameters
233246 
234247- `artifact_id: string`
235248 
236249 The Artifact ID (tagged ID, e.g., cart_abc123)
237250 
238### Header Parameters
251### Headers
239252 
240253- `"x-api-key": optional string`
241254 
from line 262
249262 
250263 Constant string confirming deletion
251264 
252 - `"code_artifact_deleted"`
265 default: code_artifact_deleted
253266 
254267### Example
255268 
256```http
269```bash
257270curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID \
258271 -X DELETE \
259272 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
260273```
261274 
262#### Response
275#### Response (200)
263276 
264277```json
265278{
from line 281
268281}
269282```
270283 
271## Domain Types
284## Domain types
272285 
273286### Artifact List Response
274287 
275- `ArtifactListResponse object { id, organization_uuid, owner_user_id, 5 more }`
288- `ArtifactListResponse object`
276289 
277290 A hosted site published via Claude Code.
278291 
from line 321
308321 
309322 Artifact last update timestamp, or null for Artifacts published before this field was recorded
310323 
311 - `user: object { id, email_address } or null`
324 format: date-time
312325 
326 - `user: object or null`
327 
313328 The user who owns a Code Artifact.
314329 
315330 Fields that reference this type are null when the Artifact was
from line 340
325340 
326341 User's email address
327342 
328 - `versions: array of object { id, created_at, name }`
343 - `versions: array of object`
329344 
330345 Up to roughly 20 most-recently-published versions of this Artifact (older versions are not retained). Metadata only — use `GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` to download a version's content.
331346 
from line 352
337352 
338353 When this version was published
339354 
355 format: date-time
356 
340357 - `name: string`
341358 
342359 Artifact title at this version. Falls back to the version identifier when the title for an older version is no longer retained.
from line 360
343360 
344361### Artifact Delete Response
345362 
346- `ArtifactDeleteResponse object { id, type }`
363- `ArtifactDeleteResponse object`
347364 
348365 Response for deleting a Code Artifact.
349366 
from line 372
355372 
356373 Constant string confirming deletion
357374 
358 - `"code_artifact_deleted"`
375 default: code_artifact_deleted
359376 
Feedback