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

Artifacts changedapi/admin/analytics/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+17added
Lines−14removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits5to this page, all time

### Query parameters #### Response (200) ## Domain types ### Query 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/admin/analytics/artifacts
4---
5 
61# Artifacts
72 
83## Get Artifact Activity
94 
10**get** `/v1/organizations/analytics/artifacts`
5**GET** `/v1/organizations/analytics/artifacts`
116 
127Get artifact-creation activity for a given day, broken out by MIME type.
138 
from line 11
1611can be broken out per member or per RBAC group via group_by[], and scoped
1712via filter[]. Requires an API key with the `read:analytics` scope.
1813 
19### Query Parameters
14### Query parameters
2015 
2116- `date: string`
2217 
2318 UTC date in YYYY-MM-DD format. The day to get artifact activity for. Data is typically available with a 1-day lag (varies by query; the error for a too-recent date names the latest available day) and may be revised by a few percent over the following days. No earlier than 2026-01-01.
2419 
20 format: date
21 
2522- `filter: optional array of string`
2623 
2724 Filters as 'dimension:value', e.g. filter[]=rbac_group_id:<id>. Repeat the param for OR within a dimension and across dimensions for AND. Supported dimensions on this endpoint: artifact_type, is_shared, rbac_group_id, user_id. Value forms: artifact_type is a canonical artifact MIME type (e.g. text/markdown) or 'other'; is_shared is 'true' or 'false'; rbac_group_id takes the tagged id (rbac_group_..., as emitted in responses and by the spend-limits API) or a bare group UUID, and matches users who held the group at any point during each covered UTC day (time-of-usage attribution); user_id takes a tagged user id (user_...), as emitted in responses. An unsupported dimension returns 400. At most 100 entries.
2825 
26 maxItems: 100
27 
2928- `group_by: optional array of "rbac_group_id" or "user_id"`
3029 
3130 Dimensions to break results out by: user_id and/or rbac_group_id. The ungrouped artifact-type cube is finite and returned in full; grouped queries multiply the cube and paginate via next_page. rbac_group_id attributes a user to every group they held at any point during the requested UTC day, so grouped rows are not an exclusive partition. At most 100 entries.
3231 
32 maxItems: 100
33 
3334 - `"rbac_group_id"`
3435 
3536 - `"user_id"`
from line 39
3839 
3940 Maximum rows to return (1-1000, default 100). The ungrouped artifact-type cube is finite and returned in full; limit is the page size only when group_by[] multiplies the cube.
4041 
42 minimum: 1, maximum: 1000
43 
4144- `page: optional string`
4245 
4346 Opaque cursor from a previous response's next_page field. Only valid with group_by[] — the ungrouped cube is never paginated.
from line 47
4447 
4548### Returns
4649 
47- `ArtifactUsage object { data, next_page }`
50- `ArtifactUsage object`
4851 
4952 Response for GET /v1/organizations/analytics/artifacts.
5053 
from line 56
5356 `rbac_group_id`) multiply the cube and paginate like the other analytics
5457 list endpoints.
5558 
56 - `data: array of object { artifact_type, artifacts_created_count, distinct_user_count, 6 more }`
59 - `data: array of object`
5760 
5861 - `artifact_type: string`
5962 
from line 100
97100 
98101### Example
99102 
100```http
103```bash
101104curl https://api.anthropic.com/v1/organizations/analytics/artifacts \
102105 -H 'anthropic-version: 2023-06-01' \
103106 -H "X-Api-Key: $ANTHROPIC_ADMIN_API_KEY"
104107```
105108 
106#### Response
109#### Response (200)
107110 
108111```json
109112{
from line 127
124127}
125128```
126129 
127## Domain Types
130## Domain types
128131 
129132### Artifact Usage
130133 
131- `ArtifactUsage object { data, next_page }`
134- `ArtifactUsage object`
132135 
133136 Response for GET /v1/organizations/analytics/artifacts.
134137 
from line 140
137140 `rbac_group_id`) multiply the cube and paginate like the other analytics
138141 list endpoints.
139142 
140 - `data: array of object { artifact_type, artifacts_created_count, distinct_user_count, 6 more }`
143 - `data: array of object`
141144 
142145 - `artifact_type: string`
143146 
Feedback