The whole hunk
from line 1, old and new numbered
/
lines
from line 1
1---
2title: Get effective organization settings
3url: https://platform.claude.com/docs/en/api/compliance/organizations/settings/retrieve
4---
5
16# Get effective organization settings
27
38**GET** `/v1/compliance/organizations/{organization_id}/settings`
from line 26
2126
2227## Headers
2328
29- `"anthropic-version": optional string`
30
31 The version of the Claude API you want to use.
32
33 Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning).
34
2435- `"x-api-key": optional string`
2536
2637## Returns
2738
39- `type: optional "effective_organization_settings"`
40
41 default: effective_organization_settings
42
2843- `api_keys: array of object`
2944
3045 Compliance API keys configured for the organization hierarchy, ordered by creation time ascending. Key secret values are never included.
3146
47 - `type: optional "compliance_api_key"`
48
49 default: compliance_api_key
50
3251 - `id: string`
3352
3453 Unique identifier for the API key.
from line 80
6180
6281 format: date-time
6382
64 - `type: optional "compliance_api_key"`
65
66 default: compliance_api_key
67
6883- `organization_id: string`
6984
7085- `settings: array of object or object or object or 3 more`
from line 88
7388
7489 A setting whose enforced value is a single true/false flag.
7590
76 - `name: "ai_powered_artifacts_enabled" or "api_workbench_feedback_collection_enabled" or "artifact_connectors_enabled" or 52 more`
91 - `type: optional "boolean"`
7792
93 default: boolean
94
95 - `name: "ai_powered_artifacts_enabled" or "api_workbench_feedback_collection_enabled" or "artifact_connectors_enabled" or 53 more`
96
7897 - `"ai_powered_artifacts_enabled"`
7998
8099 - `"api_workbench_feedback_collection_enabled"`
from line 110
91110
92111 - `"claude_ai_integration_sharing_enabled"`
93112
113 - `"claude_ai_skill_plugins_scanning_enabled"`
114
94115 - `"claude_code_desktop_bypass_permissions_enabled"`
95116
96117 - `"claude_code_desktop_enabled"`
from line 208
187208
188209 - `value: boolean`
189210
190 - `type: optional "boolean"`
191
192 default: boolean
193
194211 - `Integer object`
195212
196213 A setting whose enforced value is a whole number; null means no limit
197214 is in force.
198215
199 - `name: "account_session_duration_seconds"`
200
201 - `value: number or null`
202
203216 - `type: optional "integer"`
204217
205218 default: integer
206219
220 - `name: "account_session_duration_seconds"`
221
222 - `value: number or null`
223
207224 - `String object`
208225
209226 A setting whose enforced value is a single string; null means no value
210227 is configured.
211228
229 - `type: optional "string"`
230
231 default: string
232
212233 - `name: "claude_code_default_worker_environment_id" or "claude_code_default_worker_pool_id"`
213234
214235 - `"claude_code_default_worker_environment_id"`
from line 238
217238
218239 - `value: string or null`
219240
220 - `type: optional "string"`
221
222 default: string
223
224241 - `StringList object`
225242
226243 A setting whose enforced value is a list of strings.
227244
245 - `type: optional "string_list"`
246
247 default: string_list
248
228249 - `name: "allowed_invite_domains" or "disabled_admin_request_types" or "ip_allowlist_ip_ranges"`
229250
230251 - `"allowed_invite_domains"`
from line 256
235256
236257 - `value: array of string`
237258
238 - `type: optional "string_list"`
239
240 default: string_list
241
242259 - `ProvisioningMode object`
243260
244261 How organization members are provisioned, resolved to the enforced mode.
from line 265
248265 modes require directory sync to be enabled. Otherwise `login_only` is
249266 reported, regardless of any stored configuration.
250267
268 - `type: optional "provisioning_mode"`
269
270 default: provisioning_mode
271
251272 - `value: "jit_advanced" or "jit_permissive" or "login_only" or 2 more`
252273
253274 How organization members are provisioned under SSO.
from line 287
266287
267288 default: sso_provisioning_mode
268289
269 - `type: optional "provisioning_mode"`
270
271 default: provisioning_mode
272
273290 - `DataRetention object`
274291
275292 The data retention periods in force, keyed by the type of data they
from line 297
280297 administrator-configured retention period is in force for that data type;
281298 Anthropic's service defaults may still apply.
282299
300 - `type: optional "data_retention"`
301
302 default: data_retention
303
283304 - `value: map[object or object]`
284305
285306 - `Fixed object`
from line 307
286307
287308 A fixed retention window measured from each item's last activity.
288309
310 - `type: optional "fixed"`
311
312 default: fixed
313
289314 - `duration: number`
290315
291316 - `timescale: "day" or "month"`
from line 319
294319
295320 - `"month"`
296321
297 - `type: optional "fixed"`
298
299 default: fixed
300
301322 - `Indefinite object`
302323
303324 An indefinite retention period: data is kept with no time limit.
from line 330
309330 - `name: optional "data_retention_periods"`
310331
311332 default: data_retention_periods
312
313 - `type: optional "data_retention"`
314
315 default: data_retention
316
317- `type: optional "effective_organization_settings"`
318
319 default: effective_organization_settings
320333
321334## Example
322335