Settings changedapi/compliance/organizations/settings
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+77added
Lines−78removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
### Path parameters ### Headers #### Response (200) ## Domain types ### Path Parameters ### Header Parameters #### Response ## Domain Types
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Settings
3url: https://platform.claude.com/docs/en/api/compliance/organizations/settings
4---
5
61# Settings
72
83## Get effective organization settings
94
10**get** `/v1/compliance/organizations/{organization_id}/settings`
5**GET** `/v1/compliance/organizations/{organization_id}/settings`
116
127Retrieve the effective settings for an organization.
138
from line 15
2015The organization must belong to the API key's organization hierarchy;
2116unknown organizations and organizations outside the hierarchy return 404.
2217
23### Path Parameters
18### Path parameters
2419
2520- `organization_id: string`
2621
2722 The organization's UUID
2823
29### Header Parameters
24### Headers
3025
3126- `"x-api-key": optional string`
3227
3328### Returns
3429
35- `api_keys: array of object { id, created_at, created_by_id, 5 more }`
30- `api_keys: array of object`
3631
3732 Compliance API keys configured for the organization hierarchy, ordered by creation time ascending. Key secret values are never included.
3833
from line 39
4439
4540 When the key was created.
4641
42 format: date-time
43
4744 - `created_by_id: string or null`
4845
4946 Identifier of the user who created the key, or null when the key was created by automation or its creator's account no longer exists.
from line 61
6461
6562 When the key will stop authenticating, or null when the key does not expire.
6663
64 format: date-time
65
6766 - `type: optional "compliance_api_key"`
6867
69 - `"compliance_api_key"`
68 default: compliance_api_key
7069
7170- `organization_id: string`
7271
73- `settings: array of object { name, value, type } or object { name, value, type } or object { name, value, type } or 3 more`
72- `settings: array of object or object or object or 3 more`
7473
75 - `Boolean object { name, value, type }`
74 - `Boolean object`
7675
7776 A setting whose enforced value is a single true/false flag.
7877
from line 175
176175
177176 - `type: optional "boolean"`
178177
179 - `"boolean"`
178 default: boolean
180179
181 - `Integer object { name, value, type }`
180 - `Integer object`
182181
183182 A setting whose enforced value is a whole number; null means no limit
184183 is in force.
from line 184
185184
186185 - `name: "account_session_duration_seconds"`
187186
188 - `"account_session_duration_seconds"`
189
190187 - `value: number or null`
191188
192189 - `type: optional "integer"`
193190
194 - `"integer"`
191 default: integer
195192
196 - `String object { name, value, type }`
193 - `String object`
197194
198195 A setting whose enforced value is a single string; null means no value
199196 is configured.
from line 205
208205
209206 - `type: optional "string"`
210207
211 - `"string"`
208 default: string
212209
213 - `StringList object { name, value, type }`
210 - `StringList object`
214211
215212 A setting whose enforced value is a list of strings.
216213
from line 223
226223
227224 - `type: optional "string_list"`
228225
229 - `"string_list"`
226 default: string_list
230227
231 - `ProvisioningMode object { value, name, type }`
228 - `ProvisioningMode object`
232229
233230 How organization members are provisioned, resolved to the enforced mode.
234231
from line 250
253250
254251 - `name: optional "sso_provisioning_mode"`
255252
256 - `"sso_provisioning_mode"`
253 default: sso_provisioning_mode
257254
258255 - `type: optional "provisioning_mode"`
259256
260 - `"provisioning_mode"`
257 default: provisioning_mode
261258
262 - `DataRetention object { value, name, type }`
259 - `DataRetention object`
263260
264261 The data retention periods in force, keyed by the type of data they
265262 apply to.
from line 266
269266 administrator-configured retention period is in force for that data type;
270267 Anthropic's service defaults may still apply.
271268
272 - `value: map[object { duration, timescale, type } or object { type } ]`
269 - `value: map[object or object]`
273270
274 - `Fixed object { duration, timescale, type }`
271 - `Fixed object`
275272
276273 A fixed retention window measured from each item's last activity.
277274
from line 282
285282
286283 - `type: optional "fixed"`
287284
288 - `"fixed"`
285 default: fixed
289286
290 - `Indefinite object { type }`
287 - `Indefinite object`
291288
292289 An indefinite retention period: data is kept with no time limit.
293290
294291 - `type: optional "indefinite"`
295292
296 - `"indefinite"`
293 default: indefinite
297294
298295 - `name: optional "data_retention_periods"`
299296
300 - `"data_retention_periods"`
297 default: data_retention_periods
301298
302299 - `type: optional "data_retention"`
303300
304 - `"data_retention"`
301 default: data_retention
305302
306303- `type: optional "effective_organization_settings"`
307304
308 - `"effective_organization_settings"`
305 default: effective_organization_settings
309306
310307### Example
311308
312```http
309```bash
313310curl https://api.anthropic.com/v1/compliance/organizations/$ORGANIZATION_ID/settings \
314311 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"
315312```
316313
317#### Response
314#### Response (200)
318315
319316```json
320317{
from line 341
344341}
345342```
346343
347## Domain Types
344## Domain types
348345
349346### Setting Retrieve Response
350347
351- `SettingRetrieveResponse object { api_keys, organization_id, settings, type }`
348- `SettingRetrieveResponse object`
352349
353350 The resolved settings in force for one organization at read time.
354351
from line 354
357354 cannot change — for example, one controlled by Anthropic policy or not
358355 available to the organization — is omitted from the list.
359356
360 - `api_keys: array of object { id, created_at, created_by_id, 5 more }`
357 - `api_keys: array of object`
361358
362359 Compliance API keys configured for the organization hierarchy, ordered by creation time ascending. Key secret values are never included.
363360
from line 366
369366
370367 When the key was created.
371368
369 format: date-time
370
372371 - `created_by_id: string or null`
373372
374373 Identifier of the user who created the key, or null when the key was created by automation or its creator's account no longer exists.
from line 388
389388
390389 When the key will stop authenticating, or null when the key does not expire.
391390
391 format: date-time
392
392393 - `type: optional "compliance_api_key"`
393394
394 - `"compliance_api_key"`
395 default: compliance_api_key
395396
396397 - `organization_id: string`
397398
398 - `settings: array of object { name, value, type } or object { name, value, type } or object { name, value, type } or 3 more`
399 - `settings: array of object or object or object or 3 more`
399400
400 - `Boolean object { name, value, type }`
401 - `Boolean object`
401402
402403 A setting whose enforced value is a single true/false flag.
403404
from line 502
501502
502503 - `type: optional "boolean"`
503504
504 - `"boolean"`
505 default: boolean
505506
506 - `Integer object { name, value, type }`
507 - `Integer object`
507508
508509 A setting whose enforced value is a whole number; null means no limit
509510 is in force.
from line 511
510511
511512 - `name: "account_session_duration_seconds"`
512513
513 - `"account_session_duration_seconds"`
514
515514 - `value: number or null`
516515
517516 - `type: optional "integer"`
518517
519 - `"integer"`
518 default: integer
520519
521 - `String object { name, value, type }`
520 - `String object`
522521
523522 A setting whose enforced value is a single string; null means no value
524523 is configured.
from line 532
533532
534533 - `type: optional "string"`
535534
536 - `"string"`
535 default: string
537536
538 - `StringList object { name, value, type }`
537 - `StringList object`
539538
540539 A setting whose enforced value is a list of strings.
541540
from line 550
551550
552551 - `type: optional "string_list"`
553552
554 - `"string_list"`
553 default: string_list
555554
556 - `ProvisioningMode object { value, name, type }`
555 - `ProvisioningMode object`
557556
558557 How organization members are provisioned, resolved to the enforced mode.
559558
from line 577
578577
579578 - `name: optional "sso_provisioning_mode"`
580579
581 - `"sso_provisioning_mode"`
580 default: sso_provisioning_mode
582581
583582 - `type: optional "provisioning_mode"`
584583
585 - `"provisioning_mode"`
584 default: provisioning_mode
586585
587 - `DataRetention object { value, name, type }`
586 - `DataRetention object`
588587
589588 The data retention periods in force, keyed by the type of data they
590589 apply to.
from line 593
594593 administrator-configured retention period is in force for that data type;
595594 Anthropic's service defaults may still apply.
596595
597 - `value: map[object { duration, timescale, type } or object { type } ]`
596 - `value: map[object or object]`
598597
599 - `Fixed object { duration, timescale, type }`
598 - `Fixed object`
600599
601600 A fixed retention window measured from each item's last activity.
602601
from line 609
610609
611610 - `type: optional "fixed"`
612611
613 - `"fixed"`
612 default: fixed
614613
615 - `Indefinite object { type }`
614 - `Indefinite object`
616615
617616 An indefinite retention period: data is kept with no time limit.
618617
619618 - `type: optional "indefinite"`
620619
621 - `"indefinite"`
620 default: indefinite
622621
623622 - `name: optional "data_retention_periods"`
624623
625 - `"data_retention_periods"`
624 default: data_retention_periods
626625
627626 - `type: optional "data_retention"`
628627
629 - `"data_retention"`
628 default: data_retention
630629
631630 - `type: optional "effective_organization_settings"`
632631
633 - `"effective_organization_settings"`
632 default: effective_organization_settings
634633
No line in this hunk matches that.