One read of Claude Developer Platformapi-20261112T203713Z
139 pages moved out of 916 read.
Pages moved
139
significant first
Pages read
916
in this capture
Captured
20:37 UTC
Corpus hash
59cd06ab8c5c
corpus-hash
What this read moved
76-100 of 139, page 4 of 6This capture is too large to show at once. Changes 76-100 of 139 are below, significant first; the rest are on the following screens.
api/compliance/apps/sessions/local/messages/list Changed · +6 / -6 lines
from line 64
6464
6565## Headers
6666
67- `"anthropic-version": optional string`
67- `"anthropic-version": string`
6868
69 The version of the Claude API you want to use.
69 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
7070
71 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
71 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
7272
7373- `"x-api-key": optional string`
7474
from line 298
298298
299299```bash
300300curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID/messages \
301 -H 'anthropic-version: 2023-06-01' \
301 -H 'anthropic-version: 2026-10-21' \
302302 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
303303```
304304
api/compliance/apps/sessions/local/retrieve Changed · +4 / -4 lines
from line 20
2020
2121## Headers
2222
23- `"anthropic-version": optional string`
23- `"anthropic-version": string`
2424
25 The version of the Claude API you want to use.
25 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
2626
27 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
27 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
2828
2929- `"x-api-key": optional string`
3030
from line 84
8484
8585```bash
8686curl https://api.anthropic.com/v1/compliance/apps/sessions/local/$LOCAL_SESSION_ID \
87 -H 'anthropic-version: 2023-06-01' \
87 -H 'anthropic-version: 2026-10-21' \
8888 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
8989```
9090
api/compliance/apps/sessions/remote Changed · +12 / -12 lines
from line 85
8585
8686### Headers
8787
88- `"anthropic-version": optional string`
88- `"anthropic-version": string`
8989
90 The version of the Claude API you want to use.
90 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
9191
92 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
92 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
9393
9494- `"x-api-key": optional string`
9595
from line 165
165165
166166```bash
167167curl https://api.anthropic.com/v1/compliance/apps/sessions/remote \
168 -H 'anthropic-version: 2023-06-01' \
168 -H 'anthropic-version: 2026-10-21' \
169169 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
170170```
171171
from line 339
339339
340340#### Headers
341341
342- `"anthropic-version": optional string`
342- `"anthropic-version": string`
343343
344 The version of the Claude API you want to use.
344 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
345345
346 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
346 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
347347
348348- `"x-api-key": optional string`
349349
from line 539
539539
540540```bash
541541curl https://api.anthropic.com/v1/compliance/apps/sessions/remote/$CLAUDE_REMOTE_SESSION_ID/messages \
542 -H 'anthropic-version: 2023-06-01' \
542 -H 'anthropic-version: 2026-10-21' \
543543 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
544544```
545545
api/compliance/apps/sessions/remote/list Changed · +4 / -4 lines
from line 83
8383
8484## Headers
8585
86- `"anthropic-version": optional string`
86- `"anthropic-version": string`
8787
88 The version of the Claude API you want to use.
88 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
8989
90 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
90 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
9191
9292- `"x-api-key": optional string`
9393
from line 163
163163
164164```bash
165165curl https://api.anthropic.com/v1/compliance/apps/sessions/remote \
166 -H 'anthropic-version: 2023-06-01' \
166 -H 'anthropic-version: 2026-10-21' \
167167 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
168168```
169169
api/compliance/apps/sessions/remote/messages Changed · +6 / -6 lines
from line 78
7878
7979### Headers
8080
81- `"anthropic-version": optional string`
81- `"anthropic-version": string`
8282
83 The version of the Claude API you want to use.
83 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
8484
85 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
85 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
8686
8787- `"x-api-key": optional string`
8888
from line 278
278278
279279```bash
280280curl https://api.anthropic.com/v1/compliance/apps/sessions/remote/$CLAUDE_REMOTE_SESSION_ID/messages \
281 -H 'anthropic-version: 2023-06-01' \
281 -H 'anthropic-version: 2026-10-21' \
282282 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
283283```
284284
api/compliance/apps/sessions/remote/messages/list Changed · +6 / -6 lines
from line 76
7676
7777## Headers
7878
79- `"anthropic-version": optional string`
79- `"anthropic-version": string`
8080
81 The version of the Claude API you want to use.
81 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
8282
83 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
83 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
8484
8585- `"x-api-key": optional string`
8686
from line 276
276276
277277```bash
278278curl https://api.anthropic.com/v1/compliance/apps/sessions/remote/$CLAUDE_REMOTE_SESSION_ID/messages \
279 -H 'anthropic-version: 2023-06-01' \
279 -H 'anthropic-version: 2026-10-21' \
280280 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
281281```
282282
api/compliance/groups Changed · +18 / -18 lines
from line 31
3131
3232### Headers
3333
34- `"anthropic-version": optional string`
34- `"anthropic-version": string`
3535
36 The version of the Claude API you want to use.
36 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3737
38 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
38 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3939
4040- `"x-api-key": optional string`
4141
from line 89
8989
9090```bash
9191curl https://api.anthropic.com/v1/compliance/groups \
92 -H 'anthropic-version: 2023-06-01' \
92 -H 'anthropic-version: 2026-10-21' \
9393 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
9494```
9595
from line 130
130130
131131### Headers
132132
133- `"anthropic-version": optional string`
133- `"anthropic-version": string`
134134
135 The version of the Claude API you want to use.
135 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
136136
137 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
137 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
138138
139139- `"x-api-key": optional string`
140140
from line 176
176176
177177```bash
178178curl https://api.anthropic.com/v1/compliance/groups/$GROUP_ID \
179 -H 'anthropic-version: 2023-06-01' \
179 -H 'anthropic-version: 2026-10-21' \
180180 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
181181```
182182
from line 303
303303
304304#### Headers
305305
306- `"anthropic-version": optional string`
306- `"anthropic-version": string`
307307
308 The version of the Claude API you want to use.
308 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
309309
310 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
310 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
311311
312312- `"x-api-key": optional string`
313313
from line 349
349349
350350```bash
351351curl https://api.anthropic.com/v1/compliance/groups/$GROUP_ID/members \
352 -H 'anthropic-version: 2023-06-01' \
352 -H 'anthropic-version: 2026-10-21' \
353353 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
354354```
355355
api/compliance/groups/list Changed · +4 / -4 lines
from line 29
2929
3030## Headers
3131
32- `"anthropic-version": optional string`
32- `"anthropic-version": string`
3333
34 The version of the Claude API you want to use.
34 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3535
36 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
36 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3737
3838- `"x-api-key": optional string`
3939
from line 87
8787
8888```bash
8989curl https://api.anthropic.com/v1/compliance/groups \
90 -H 'anthropic-version: 2023-06-01' \
90 -H 'anthropic-version: 2026-10-21' \
9191 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
9292```
9393
api/compliance/groups/members Changed · +4 / -4 lines
from line 31
3131
3232### Headers
3333
34- `"anthropic-version": optional string`
34- `"anthropic-version": string`
3535
36 The version of the Claude API you want to use.
36 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3737
38 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
38 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3939
4040- `"x-api-key": optional string`
4141
from line 77
7777
7878```bash
7979curl https://api.anthropic.com/v1/compliance/groups/$GROUP_ID/members \
80 -H 'anthropic-version: 2023-06-01' \
80 -H 'anthropic-version: 2026-10-21' \
8181 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
8282```
8383
api/compliance/groups/members/list Changed · +4 / -4 lines
from line 29
2929
3030## Headers
3131
32- `"anthropic-version": optional string`
32- `"anthropic-version": string`
3333
34 The version of the Claude API you want to use.
34 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3535
36 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
36 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3737
3838- `"x-api-key": optional string`
3939
from line 75
7575
7676```bash
7777curl https://api.anthropic.com/v1/compliance/groups/$GROUP_ID/members \
78 -H 'anthropic-version: 2023-06-01' \
78 -H 'anthropic-version: 2026-10-21' \
7979 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
8080```
8181
api/compliance/groups/retrieve Changed · +4 / -4 lines
from line 17
1717
1818## Headers
1919
20- `"anthropic-version": optional string`
20- `"anthropic-version": string`
2121
22 The version of the Claude API you want to use.
22 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
2323
24 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
24 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
2525
2626- `"x-api-key": optional string`
2727
from line 63
6363
6464```bash
6565curl https://api.anthropic.com/v1/compliance/groups/$GROUP_ID \
66 -H 'anthropic-version: 2023-06-01' \
66 -H 'anthropic-version: 2026-10-21' \
6767 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
6868```
6969
api/compliance/organizations Changed · +72 / -50 lines
from line 29
2929
3030### Headers
3131
32- `"anthropic-version": optional string`
32- `"anthropic-version": string`
3333
34 The version of the Claude API you want to use.
34 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3535
36 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
36 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3737
3838- `"x-api-key": optional string`
3939
from line 55
5555
5656 Unique identifier for the organization (UUID format)
5757
58 - `organization_type: optional "claude_enterprise" or "claude_platform" or "claude_team" or null`
59
60 The kind of organization: `claude_enterprise` for a claude.ai organization on the Enterprise plan, `claude_team` for a claude.ai organization on the Team plan, or `claude_platform` for a Claude Console organization. Null for an organization of any other kind. More values can be added; treat a value you don't recognize as you would null.
61
62 - `"claude_enterprise"`
63
64 - `"claude_platform"`
65
66 - `"claude_team"`
67
5868- `has_more: boolean`
5969
6070 Whether more records exist beyond the current result set
from line 77
6777
6878```bash
6979curl https://api.anthropic.com/v1/compliance/organizations \
70 -H 'anthropic-version: 2023-06-01' \
80 -H 'anthropic-version: 2026-10-21' \
7181 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
7282```
7383
from line 89
7989 {
8090 "created_at": "2025-03-12T18:22:41.123456+00:00",
8191 "name": "Acme Corp",
82 "uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde"
92 "uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
93 "organization_type": "claude_enterprise"
8394 }
8495 ],
8596 "has_more": true,
from line 118
107118
108119 Unique identifier for the organization (UUID format)
109120
121 - `organization_type: optional "claude_enterprise" or "claude_platform" or "claude_team" or null`
122
123 The kind of organization: `claude_enterprise` for a claude.ai organization on the Enterprise plan, `claude_team` for a claude.ai organization on the Team plan, or `claude_platform` for a Claude Console organization. Null for an organization of any other kind. More values can be added; treat a value you don't recognize as you would null.
124
125 - `"claude_enterprise"`
126
127 - `"claude_platform"`
128
129 - `"claude_team"`
130
110131## Organizations › Users
111132
112133### List organization users
from line 156
135156
136157#### Headers
137158
138- `"anthropic-version": optional string`
159- `"anthropic-version": string`
139160
140 The version of the Claude API you want to use.
161 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
141162
142 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
163 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
143164
144165- `"x-api-key": optional string`
145166
from line 226
205226
206227```bash
207228curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/users \
208 -H 'anthropic-version: 2023-06-01' \
229 -H 'anthropic-version: 2026-10-21' \
209230 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
210231```
211232
from line 298
277298
278299#### Headers
279300
280- `"anthropic-version": optional string`
301- `"anthropic-version": string`
281302
282 The version of the Claude API you want to use.
303 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
283304
284 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
305 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
285306
286307- `"x-api-key": optional string`
287308
from line 344
323344
324345```bash
325346curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/user_preferences \
326 -H 'anthropic-version: 2023-06-01' \
347 -H 'anthropic-version: 2026-10-21' \
327348 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
328349```
329350
from line 395
374395
375396#### Headers
376397
377- `"anthropic-version": optional string`
398- `"anthropic-version": string`
378399
379 The version of the Claude API you want to use.
400 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
380401
381 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
402 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
382403
383404- `"x-api-key": optional string`
384405
from line 445
424445
425446```bash
426447curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles \
427 -H 'anthropic-version: 2023-06-01' \
448 -H 'anthropic-version: 2026-10-21' \
428449 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
429450```
430451
from line 485
464485
465486#### Headers
466487
467- `"anthropic-version": optional string`
488- `"anthropic-version": string`
468489
469 The version of the Claude API you want to use.
490 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
470491
471 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
492 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
472493
473494- `"x-api-key": optional string`
474495
from line 523
502523
503524```bash
504525curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID \
505 -H 'anthropic-version: 2023-06-01' \
526 -H 'anthropic-version: 2026-10-21' \
506527 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
507528```
508529
from line 571
550571
551572#### Headers
552573
553- `"anthropic-version": optional string`
574- `"anthropic-version": string`
554575
555 The version of the Claude API you want to use.
576 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
556577
557 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
578 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
558579
559580- `"x-api-key": optional string`
560581
from line 609
588609
589610```bash
590611curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \
591 -H 'anthropic-version: 2023-06-01' \
612 -H 'anthropic-version: 2026-10-21' \
592613 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
593614```
594615
from line 664
643664
644665#### Headers
645666
646- `"anthropic-version": optional string`
667- `"anthropic-version": string`
647668
648 The version of the Claude API you want to use.
669 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
649670
650 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
671 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
651672
652673- `"x-api-key": optional string`
653674
from line 1051
10301051
10311052```bash
10321053curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/settings \
1033 -H 'anthropic-version: 2023-06-01' \
1054 -H 'anthropic-version: 2026-10-21' \
10341055 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
10351056```
10361057
from line 1099
10781099example when it is about a feature that the organization cannot have, so a missing
10791100control is not a pass.
10801101
1081The `anthropic-version` header is required: a request without it returns 400.
1102The `anthropic-version` header is required: a request without it, or with a value
1103that is not an available version, returns 400.
10821104The endpoint takes no query parameters, so there is no filter, and a request with
10831105any query parameter also returns 400. A request also returns 400 when the Compliance
10841106API is not enabled for the API key's parent organization.
from line 1121
10991121
11001122#### Headers
11011123
1102- `"anthropic-version": optional string`
1124- `"anthropic-version": string`
11031125
1104 The version of the Claude API you want to use.
1126 The version of the Claude API to use. A request that omits this header, or sends a value that is not an available version, returns a 400 error.
11051127
1106 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
1128 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
11071129
11081130- `"x-api-key": optional string`
11091131
from line 1363
13411363
13421364```bash
13431365curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/security_posture \
1344 -H 'anthropic-version: 2023-06-01' \
1366 -H 'anthropic-version: 2026-10-21' \
13451367 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
13461368```
13471369
api/compliance/organizations/list Changed · +16 / -5 lines
from line 27
2727
2828## Headers
2929
30- `"anthropic-version": optional string`
30- `"anthropic-version": string`
3131
32 The version of the Claude API you want to use.
32 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3333
34 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
34 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3535
3636- `"x-api-key": optional string`
3737
from line 53
5353
5454 Unique identifier for the organization (UUID format)
5555
56 - `organization_type: optional "claude_enterprise" or "claude_platform" or "claude_team" or null`
57
58 The kind of organization: `claude_enterprise` for a claude.ai organization on the Enterprise plan, `claude_team` for a claude.ai organization on the Team plan, or `claude_platform` for a Claude Console organization. Null for an organization of any other kind. More values can be added; treat a value you don't recognize as you would null.
59
60 - `"claude_enterprise"`
61
62 - `"claude_platform"`
63
64 - `"claude_team"`
65
5666- `has_more: boolean`
5767
5868 Whether more records exist beyond the current result set
from line 75
6575
6676```bash
6777curl https://api.anthropic.com/v1/compliance/organizations \
68 -H 'anthropic-version: 2023-06-01' \
78 -H 'anthropic-version: 2026-10-21' \
6979 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
7080```
7181
from line 87
7787 {
7888 "created_at": "2025-03-12T18:22:41.123456+00:00",
7989 "name": "Acme Corp",
80 "uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde"
90 "uuid": "a1b2c3d4-e5f6-4789-a012-3456789abcde",
91 "organization_type": "claude_enterprise"
8192 }
8293 ],
8394 "has_more": true,
api/compliance/organizations/roles Changed · +18 / -18 lines
from line 31
3131
3232### Headers
3333
34- `"anthropic-version": optional string`
34- `"anthropic-version": string`
3535
36 The version of the Claude API you want to use.
36 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3737
38 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
38 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3939
4040- `"x-api-key": optional string`
4141
from line 81
8181
8282```bash
8383curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles \
84 -H 'anthropic-version: 2023-06-01' \
84 -H 'anthropic-version: 2026-10-21' \
8585 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
8686```
8787
from line 121
121121
122122### Headers
123123
124- `"anthropic-version": optional string`
124- `"anthropic-version": string`
125125
126 The version of the Claude API you want to use.
126 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
127127
128 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
128 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
129129
130130- `"x-api-key": optional string`
131131
from line 159
159159
160160```bash
161161curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID \
162 -H 'anthropic-version: 2023-06-01' \
162 -H 'anthropic-version: 2026-10-21' \
163163 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
164164```
165165
from line 269
269269
270270#### Headers
271271
272- `"anthropic-version": optional string`
272- `"anthropic-version": string`
273273
274 The version of the Claude API you want to use.
274 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
275275
276 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
276 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
277277
278278- `"x-api-key": optional string`
279279
from line 307
307307
308308```bash
309309curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \
310 -H 'anthropic-version: 2023-06-01' \
310 -H 'anthropic-version: 2026-10-21' \
311311 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
312312```
313313
api/compliance/organizations/roles/list Changed · +4 / -4 lines
from line 29
2929
3030## Headers
3131
32- `"anthropic-version": optional string`
32- `"anthropic-version": string`
3333
34 The version of the Claude API you want to use.
34 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3535
36 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
36 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3737
3838- `"x-api-key": optional string`
3939
from line 79
7979
8080```bash
8181curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles \
82 -H 'anthropic-version: 2023-06-01' \
82 -H 'anthropic-version: 2026-10-21' \
8383 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
8484```
8585
api/compliance/organizations/roles/permissions Changed · +4 / -4 lines
from line 35
3535
3636### Headers
3737
38- `"anthropic-version": optional string`
38- `"anthropic-version": string`
3939
40 The version of the Claude API you want to use.
40 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
4141
42 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
42 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
4343
4444- `"x-api-key": optional string`
4545
from line 73
7373
7474```bash
7575curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \
76 -H 'anthropic-version: 2023-06-01' \
76 -H 'anthropic-version: 2026-10-21' \
7777 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
7878```
7979
api/compliance/organizations/roles/permissions/list Changed · +4 / -4 lines
from line 33
3333
3434## Headers
3535
36- `"anthropic-version": optional string`
36- `"anthropic-version": string`
3737
38 The version of the Claude API you want to use.
38 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3939
40 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
40 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
4141
4242- `"x-api-key": optional string`
4343
from line 71
7171
7272```bash
7373curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID/permissions \
74 -H 'anthropic-version: 2023-06-01' \
74 -H 'anthropic-version: 2026-10-21' \
7575 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
7676```
7777
api/compliance/organizations/roles/retrieve Changed · +4 / -4 lines
from line 21
2121
2222## Headers
2323
24- `"anthropic-version": optional string`
24- `"anthropic-version": string`
2525
26 The version of the Claude API you want to use.
26 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
2727
28 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
28 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
2929
3030- `"x-api-key": optional string`
3131
from line 59
5959
6060```bash
6161curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/roles/$ROLE_ID \
62 -H 'anthropic-version: 2023-06-01' \
62 -H 'anthropic-version: 2026-10-21' \
6363 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
6464```
6565
api/compliance/organizations/security_posture Changed · +8 / -7 lines
from line 17
1717example when it is about a feature that the organization cannot have, so a missing
1818control is not a pass.
1919
20The `anthropic-version` header is required: a request without it returns 400.
20The `anthropic-version` header is required: a request without it, or with a value
21that is not an available version, returns 400.
2122The endpoint takes no query parameters, so there is no filter, and a request with
2223any query parameter also returns 400. A request also returns 400 when the Compliance
2324API is not enabled for the API key's parent organization.
from line 39
3839
3940### Headers
4041
41- `"anthropic-version": optional string`
42- `"anthropic-version": string`
4243
43 The version of the Claude API you want to use.
44 The version of the Claude API to use. A request that omits this header, or sends a value that is not an available version, returns a 400 error.
4445
45 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
46 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
4647
4748- `"x-api-key": optional string`
4849
from line 281
280281
281282```bash
282283curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/security_posture \
283 -H 'anthropic-version: 2023-06-01' \
284 -H 'anthropic-version: 2026-10-21' \
284285 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
285286```
286287
api/compliance/organizations/security_posture/retrieve Changed · +8 / -7 lines
from line 15
1515example when it is about a feature that the organization cannot have, so a missing
1616control is not a pass.
1717
18The `anthropic-version` header is required: a request without it returns 400.
18The `anthropic-version` header is required: a request without it, or with a value
19that is not an available version, returns 400.
1920The endpoint takes no query parameters, so there is no filter, and a request with
2021any query parameter also returns 400. A request also returns 400 when the Compliance
2122API is not enabled for the API key's parent organization.
from line 37
3637
3738## Headers
3839
39- `"anthropic-version": optional string`
40- `"anthropic-version": string`
4041
41 The version of the Claude API you want to use.
42 The version of the Claude API to use. A request that omits this header, or sends a value that is not an available version, returns a 400 error.
4243
43 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
44 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
4445
4546- `"x-api-key": optional string`
4647
from line 279
278279
279280```bash
280281curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/security_posture \
281 -H 'anthropic-version: 2023-06-01' \
282 -H 'anthropic-version: 2026-10-21' \
282283 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
283284```
284285
api/compliance/organizations/settings Changed · +6 / -6 lines
from line 38
3838
3939### Headers
4040
41- `"anthropic-version": optional string`
41- `"anthropic-version": string`
4242
43 The version of the Claude API you want to use.
43 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
4444
45 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
45 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
4646
4747- `"x-api-key": optional string`
4848
from line 425
425425
426426```bash
427427curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/settings \
428 -H 'anthropic-version: 2023-06-01' \
428 -H 'anthropic-version: 2026-10-21' \
429429 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
430430```
431431
api/compliance/organizations/settings/retrieve Changed · +6 / -6 lines
from line 36
3636
3737## Headers
3838
39- `"anthropic-version": optional string`
39- `"anthropic-version": string`
4040
41 The version of the Claude API you want to use.
41 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
4242
43 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
43 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
4444
4545- `"x-api-key": optional string`
4646
from line 423
423423
424424```bash
425425curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/settings \
426 -H 'anthropic-version: 2023-06-01' \
426 -H 'anthropic-version: 2026-10-21' \
427427 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
428428```
429429
api/compliance/organizations/user_preferences Changed · +4 / -4 lines
from line 53
5353
5454### Headers
5555
56- `"anthropic-version": optional string`
56- `"anthropic-version": string`
5757
58 The version of the Claude API you want to use.
58 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
5959
60 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
60 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
6161
6262- `"x-api-key": optional string`
6363
from line 99
9999
100100```bash
101101curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/user_preferences \
102 -H 'anthropic-version: 2023-06-01' \
102 -H 'anthropic-version: 2026-10-21' \
103103 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
104104```
105105
api/compliance/organizations/user_preferences/list Changed · +4 / -4 lines
from line 51
5151
5252## Headers
5353
54- `"anthropic-version": optional string`
54- `"anthropic-version": string`
5555
56 The version of the Claude API you want to use.
56 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
5757
58 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
58 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
5959
6060- `"x-api-key": optional string`
6161
from line 97
9797
9898```bash
9999curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/user_preferences \
100 -H 'anthropic-version: 2023-06-01' \
100 -H 'anthropic-version: 2026-10-21' \
101101 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
102102```
103103
api/compliance/organizations/users Changed · +4 / -4 lines
from line 31
3131
3232### Headers
3333
34- `"anthropic-version": optional string`
34- `"anthropic-version": string`
3535
36 The version of the Claude API you want to use.
36 The version of the Claude API to use. Send an available version on every request. Some other Compliance API endpoints return a 400 error for a request that omits this header, or sends a value that is not an available version. This endpoint treats such a request as version `2023-06-01`.
3737
38 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).
38 See [API versions](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http) for the available versions.
3939
4040- `"x-api-key": optional string`
4141
from line 101
101101
102102```bash
103103curl https://api.anthropic.com/v1/compliance/organizations/$ORG_UUID/users \
104 -H 'anthropic-version: 2023-06-01' \
104 -H 'anthropic-version: 2026-10-21' \
105105 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
106106```
107107