What this read moved
51–75 of 122This capture is too large to show at once. Changes 51-75 of 122 are below, significant first; the rest are on the following screens.
api/admin/workspaces/rate_limits/list Changed · +14 / -2 lines
from line 8
88override. Groups without overrides inherit the organization limits and
99are not listed; use `GET /v1/organizations/rate_limits` to see those.
1010
11When `limit` is omitted, every matching entry is returned in a single
12page; when `limit` truncates the result, follow `next_page` to fetch
13the remaining entries.
14
1115## Path parameters
1216
1317- `workspace_id: string`
from line 36
3236
3337 - `"web_search"`
3438
39- `limit: optional number`
40
41 Maximum number of items to return per page. Ranges from `1` to `1000`.
42
43 When omitted, every remaining entry is returned in a single page and `next_page` is `null`.
44
45 maximum: 1000, minimum: 1
46
3547- `page: optional string`
3648
3749 Opaque cursor from a previous response's `next_page`.
from line 106
94106
95107- `next_page: string or null`
96108
97 Token to provide in as `page` in the subsequent request to retrieve the next page of data.
109 Opaque cursor for the next page of results, or `null` when no entries remain beyond this response.
98110
99111## Example
100112
from line 113
101113```bash
102114curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/rate_limits \
103115 -H 'anthropic-version: 2023-06-01' \
104 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
116 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
105117```
106118
107119### Response (200)
api/admin/workspaces/retrieve Changed · +16 / -7 lines
from line 30
3030 customer-managed encryption key (CMEK) on AWS, reference this value in your
3131 KMS key-policy condition so the key is scoped to this compartment. On GCP and
3232 Azure, Anthropic enforces the compartment binding automatically; you do not
33 need to reference this value in your key configuration. See the CMEK integration guide for the
34 required key configuration, including the value used during key validation.
33 need to reference this value in your key configuration. See the CMEK
34 integration guide for the required key configuration; unless your organization
35 is on Claude Platform on AWS, it includes a separate value used during key
36 validation. On Claude Platform on AWS there is no separate validation value:
37 the key is validated against this Workspace's own value when it is attached, so
38 if your key policy uses the compartment condition, add this value to it before
39 attaching the key.
3540
3641 - `created_at: string`
3742
from line 73
6873 ID of the customer-managed encryption key (CMEK) configuration to use for this
6974 Workspace. Setting this field requires CMEK to be enabled for your
7075 organization. When set, data stored for this Workspace is encrypted with the
71 referenced key. Create key configurations with the External Keys API. This
72 field is write-once: once a key is attached to a Workspace it cannot be
73 detached or replaced. To rotate key material, rotate the underlying key on
74 your cloud KMS; the `external_key_id` stays the same.
76 referenced key. Create key configurations with the External Keys API. On
77 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
78 single-Region key in the same AWS account and Region as the Workspace. On that
79 platform the key is validated against this Workspace when it is attached, so a
80 key-policy problem is reported as an error on this request. This field is write-once:
81 once a key is attached to a Workspace it cannot be detached or replaced. To
82 rotate key material, rotate the underlying key on your cloud KMS; the
83 `external_key_id` stays the same.
7584
7685 - `name: string`
7786
from line 103
94103```bash
95104curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
96105 -H 'anthropic-version: 2023-06-01' \
97 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
106 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
98107```
99108
100109### Response (200)
api/admin/workspaces/service_accounts Changed · +18 / -11 lines
from line 4
44
55**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
66
7**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
8
79Add a service account to a workspace with the given `workspace_role`.
810
911The role determines what the service account can do in the workspace and
from line 15
1315assigns a chosen role. If the service account is already an explicit
1416member of the workspace, its `workspace_role` is replaced with the
1517value supplied here. Archived workspaces return 400. Archived service
16accounts cannot be added and are rejected. Requires an OAuth bearer or
17Console session; Admin API keys are not accepted.
18accounts cannot be added and are rejected.
1819
1920### Path parameters
2021
from line 91
9091curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
9192 -H 'Content-Type: application/json' \
9293 -H 'anthropic-version: 2023-06-01' \
93 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
94 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
9495 -d '{
9596 "service_account_id": "service_account_id",
9697 "workspace_role": "workspace_admin"
from line 115
114115
115116**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
116117
118**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
119
117120Retrieve a service account's membership in a workspace.
118121
119122Returns the membership record, including the service account's
from line 185
182185```bash
183186curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
184187 -H 'anthropic-version: 2023-06-01' \
185 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
188 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
186189```
187190
188191#### Response (200)
from line 205
202205
203206**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
204207
208**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
209
205210List the service accounts that are members of a workspace.
206211
207212Each entry includes the service account's `workspace_role`. Use `limit`
from line 289
284289```bash
285290curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
286291 -H 'anthropic-version: 2023-06-01' \
287 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
292 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
288293```
289294
290295#### Response (200)
from line 314
309314
310315**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
311316
317**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
318
312319Change a service account's role in a workspace.
313320
314321The new `workspace_role` replaces the current one. Only explicit
from line 323
316323default-workspace membership, add the service account explicitly with
317324`POST /workspaces/{workspace_id}/service_accounts`. Archived workspaces
318325return 400. Archived service accounts cannot be updated and are
319rejected. Requires an OAuth bearer or Console session; Admin API keys
320are not accepted.
326rejected.
321327
322328### Path parameters
323329
from line 399
393399curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
394400 -H 'Content-Type: application/json' \
395401 -H 'anthropic-version: 2023-06-01' \
396 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
402 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
397403 -d '{
398404 "workspace_role": "workspace_admin"
399405 }'
from line 422
416422
417423**DELETE** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
418424
425**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
426
419427Remove a service account from a workspace.
420428
421429Removal is idempotent (returns 200 even if the membership was already
from line 430
422430removed). A DELETE against the implicit default-workspace membership
423431returns 200 but is a no-op and the membership persists; deleting an
424432explicit default-workspace row reverts to the implicit `workspace_user`
425membership. Archived workspaces return 400. Requires an OAuth bearer or
426Console session; Admin API keys are not accepted.
433membership. Archived workspaces return 400.
427434
428435### Path parameters
429436
from line 470
463470curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
464471 -X DELETE \
465472 -H 'anthropic-version: 2023-06-01' \
466 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
473 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
467474```
468475
469476#### Response (200)
api/admin/workspaces/service_accounts/create Changed · +4 / -3 lines
from line 2
22
33**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57Add a service account to a workspace with the given `workspace_role`.
68
79The role determines what the service account can do in the workspace and
from line 13
1113assigns a chosen role. If the service account is already an explicit
1214member of the workspace, its `workspace_role` is replaced with the
1315value supplied here. Archived workspaces return 400. Archived service
14accounts cannot be added and are rejected. Requires an OAuth bearer or
15Console session; Admin API keys are not accepted.
16accounts cannot be added and are rejected.
1617
1718## Path parameters
1819
from line 89
8889curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
8990 -H 'Content-Type: application/json' \
9091 -H 'anthropic-version: 2023-06-01' \
91 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
92 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
9293 -d '{
9394 "service_account_id": "service_account_id",
9495 "workspace_role": "workspace_admin"
api/admin/workspaces/service_accounts/delete Changed · +4 / -3 lines
from line 2
22
33**DELETE** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57Remove a service account from a workspace.
68
79Removal is idempotent (returns 200 even if the membership was already
from line 10
810removed). A DELETE against the implicit default-workspace membership
911returns 200 but is a no-op and the membership persists; deleting an
1012explicit default-workspace row reverts to the implicit `workspace_user`
11membership. Archived workspaces return 400. Requires an OAuth bearer or
12Console session; Admin API keys are not accepted.
13membership. Archived workspaces return 400.
1314
1415## Path parameters
1516
from line 50
4950curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
5051 -X DELETE \
5152 -H 'anthropic-version: 2023-06-01' \
52 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
53 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
5354```
5455
5556### Response (200)
api/admin/workspaces/service_accounts/update Changed · +4 / -3 lines
from line 2
22
33**POST** `/v1/organizations/workspaces/{workspace_id}/service_accounts/{service_account_id}`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57Change a service account's role in a workspace.
68
79The new `workspace_role` replaces the current one. Only explicit
from line 11
911default-workspace membership, add the service account explicitly with
1012`POST /workspaces/{workspace_id}/service_accounts`. Archived workspaces
1113return 400. Archived service accounts cannot be updated and are
12rejected. Requires an OAuth bearer or Console session; Admin API keys
13are not accepted.
14rejected.
1415
1516## Path parameters
1617
from line 87
8687curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts/$SERVICE_ACCOUNT_ID \
8788 -H 'Content-Type: application/json' \
8889 -H 'anthropic-version: 2023-06-01' \
89 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
90 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
9091 -d '{
9192 "workspace_role": "workspace_admin"
9293 }'
api/admin/workspaces/update Changed · +31 / -11 lines
from line 34
3434
3535 - `"us"`
3636
37- `display_color: optional string`
38
39 Hex color code representing the Workspace in the Anthropic Console.
40
41 maxLength: 7, pattern: ^#[0-9A-Fa-f]{6}$
42
3743- `external_key_id: optional string`
3844
3945 ID of the customer-managed encryption key (CMEK) configuration to use for this
4046 Workspace. Setting this field requires CMEK to be enabled for your
4147 organization. When set, data stored for this Workspace is encrypted with the
42 referenced key. Create key configurations with the External Keys API. This
43 field is write-once: once a key is attached to a Workspace it cannot be
44 detached or replaced. To rotate key material, rotate the underlying key on
45 your cloud KMS; the `external_key_id` stays the same.
48 referenced key. Create key configurations with the External Keys API. On
49 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
50 single-Region key in the same AWS account and Region as the Workspace. On that
51 platform the key is validated against this Workspace when it is attached, so a
52 key-policy problem is reported as an error on this request. This field is write-once:
53 once a key is attached to a Workspace it cannot be detached or replaced. To
54 rotate key material, rotate the underlying key on your cloud KMS; the
55 `external_key_id` stays the same.
4656
4757- `name: optional string`
4858
from line 84
7484 customer-managed encryption key (CMEK) on AWS, reference this value in your
7585 KMS key-policy condition so the key is scoped to this compartment. On GCP and
7686 Azure, Anthropic enforces the compartment binding automatically; you do not
77 need to reference this value in your key configuration. See the CMEK integration guide for the
78 required key configuration, including the value used during key validation.
87 need to reference this value in your key configuration. See the CMEK
88 integration guide for the required key configuration; unless your organization
89 is on Claude Platform on AWS, it includes a separate value used during key
90 validation. On Claude Platform on AWS there is no separate validation value:
91 the key is validated against this Workspace's own value when it is attached, so
92 if your key policy uses the compartment condition, add this value to it before
93 attaching the key.
7994
8095 - `created_at: string`
8196
from line 127
112127 ID of the customer-managed encryption key (CMEK) configuration to use for this
113128 Workspace. Setting this field requires CMEK to be enabled for your
114129 organization. When set, data stored for this Workspace is encrypted with the
115 referenced key. Create key configurations with the External Keys API. This
116 field is write-once: once a key is attached to a Workspace it cannot be
117 detached or replaced. To rotate key material, rotate the underlying key on
118 your cloud KMS; the `external_key_id` stays the same.
130 referenced key. Create key configurations with the External Keys API. On
131 Claude Platform on AWS the value is the AWS KMS key ARN, and the key must be a
132 single-Region key in the same AWS account and Region as the Workspace. On that
133 platform the key is validated against this Workspace when it is attached, so a
134 key-policy problem is reported as an error on this request. This field is write-once:
135 once a key is attached to a Workspace it cannot be detached or replaced. To
136 rotate key material, rotate the underlying key on your cloud KMS; the
137 `external_key_id` stays the same.
119138
120139 - `name: string`
121140
from line 158
139158curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID \
140159 -H 'Content-Type: application/json' \
141160 -H 'anthropic-version: 2023-06-01' \
142 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
161 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
143162 -d '{
163 "display_color": "#6C5BB9",
144164 "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
145165 "tags": {
146166 "env": "prod",
api/admin/analytics/skills Changed · +2 / -2 lines
from line 181
181181
182182 - `skill_display_name: optional string or null`
183183
184 Human-readable display name for rows whose `skill_name` is an opaque skill id (user/organization skill types — user-defined names are withheld from the analytics pipeline). Only organization-shared skills resolve; the literal 'unknown' bucket row also gets a fixed 'Unknown skill' label. Null for private (user-defined) skills — their names are not disclosed to analytics-key holders — and null when `skill_name` is already a display name, when the skill was deleted, or when display-name resolution is not enabled for this organization.
184 Human-readable display name for rows whose `skill_name` is an opaque skill id (user/organization skill types and plugin-delivered skills — user-defined names are withheld from the analytics pipeline). Organization-shared skills and skills delivered by the organization's own plugins (its plugin marketplaces and its library) resolve; plugin skill names are shown without their 'plugin:' prefix. The literal 'unknown' bucket row gets a fixed 'Unknown skill' label. Null for private (user-defined) skills and members' personal-plugin skills — those names are not disclosed to analytics-key holders — and for Anthropic-provided plugin skills (not resolved), and null when `skill_name` is already a display name, when the skill or plugin was deleted, or when display-name resolution is not enabled for this organization.
185185
186186 - `user_id: optional string or null`
187187
from line 357
357357
358358 - `skill_display_name: optional string or null`
359359
360 Human-readable display name for rows whose `skill_name` is an opaque skill id (user/organization skill types — user-defined names are withheld from the analytics pipeline). Only organization-shared skills resolve; the literal 'unknown' bucket row also gets a fixed 'Unknown skill' label. Null for private (user-defined) skills — their names are not disclosed to analytics-key holders — and null when `skill_name` is already a display name, when the skill was deleted, or when display-name resolution is not enabled for this organization.
360 Human-readable display name for rows whose `skill_name` is an opaque skill id (user/organization skill types and plugin-delivered skills — user-defined names are withheld from the analytics pipeline). Organization-shared skills and skills delivered by the organization's own plugins (its plugin marketplaces and its library) resolve; plugin skill names are shown without their 'plugin:' prefix. The literal 'unknown' bucket row gets a fixed 'Unknown skill' label. Null for private (user-defined) skills and members' personal-plugin skills — those names are not disclosed to analytics-key holders — and for Anthropic-provided plugin skills (not resolved), and null when `skill_name` is already a display name, when the skill or plugin was deleted, or when display-name resolution is not enabled for this organization.
361361
362362 - `user_id: optional string or null`
363363
api/admin/analytics/skills/list Changed · +1 / -1 lines
from line 179
179179
180180 - `skill_display_name: optional string or null`
181181
182 Human-readable display name for rows whose `skill_name` is an opaque skill id (user/organization skill types — user-defined names are withheld from the analytics pipeline). Only organization-shared skills resolve; the literal 'unknown' bucket row also gets a fixed 'Unknown skill' label. Null for private (user-defined) skills — their names are not disclosed to analytics-key holders — and null when `skill_name` is already a display name, when the skill was deleted, or when display-name resolution is not enabled for this organization.
182 Human-readable display name for rows whose `skill_name` is an opaque skill id (user/organization skill types and plugin-delivered skills — user-defined names are withheld from the analytics pipeline). Organization-shared skills and skills delivered by the organization's own plugins (its plugin marketplaces and its library) resolve; plugin skill names are shown without their 'plugin:' prefix. The literal 'unknown' bucket row gets a fixed 'Unknown skill' label. Null for private (user-defined) skills and members' personal-plugin skills — those names are not disclosed to analytics-key holders — and for Anthropic-provided plugin skills (not resolved), and null when `skill_name` is already a display name, when the skill or plugin was deleted, or when display-name resolution is not enabled for this organization.
183183
184184 - `user_id: optional string or null`
185185
api/admin/api_keys/list Changed · +1 / -1 lines
from line 183
183183```bash
184184curl https://api.anthropic.com/v1/organizations/api_keys \
185185 -H 'anthropic-version: 2023-06-01' \
186 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
186 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
187187```
188188
189189### Response (200)
api/admin/api_keys/retrieve Changed · +1 / -1 lines
from line 139
139139```bash
140140curl https://api.anthropic.com/v1/organizations/api_keys/$API_KEY_ID \
141141 -H 'anthropic-version: 2023-06-01' \
142 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
142 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
143143```
144144
145145### Response (200)
api/admin/api_keys/update Changed · +1 / -1 lines
from line 158
158158curl https://api.anthropic.com/v1/organizations/api_keys/$API_KEY_ID \
159159 -H 'Content-Type: application/json' \
160160 -H 'anthropic-version: 2023-06-01' \
161 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
161 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
162162 -d '{}'
163163```
164164
api/admin/cost_report Changed · +1 / -1 lines
from line 163
163163```bash
164164curl https://api.anthropic.com/v1/organizations/cost_report \
165165 -H 'anthropic-version: 2023-06-01' \
166 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
166 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
167167```
168168
169169#### Response (200)
api/admin/cost_report/retrieve Changed · +1 / -1 lines
from line 161
161161```bash
162162curl https://api.anthropic.com/v1/organizations/cost_report \
163163 -H 'anthropic-version: 2023-06-01' \
164 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
164 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
165165```
166166
167167### Response (200)
api/admin/external_keys/delete Changed · +1 / -1 lines
from line 30
3030curl https://api.anthropic.com/v1/organizations/external_keys/$EXTERNAL_KEY_ID \
3131 -X DELETE \
3232 -H 'anthropic-version: 2023-06-01' \
33 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
33 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
3434```
3535
3636### Response (200)
api/admin/external_keys/validate Changed · +1 / -1 lines
from line 41
4141curl https://api.anthropic.com/v1/organizations/external_keys/$EXTERNAL_KEY_ID/validate \
4242 -X POST \
4343 -H 'anthropic-version: 2023-06-01' \
44 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
44 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
4545```
4646
4747### Response (200)
api/admin/federation_issuers/list Changed · +3 / -1 lines
from line 2
22
33**GET** `/v1/organizations/federation_issuers`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57List federation issuers in your organization.
68
79Archived issuers are excluded unless `include_archived=true`.
from line 181
179181```bash
180182curl https://api.anthropic.com/v1/organizations/federation_issuers \
181183 -H 'anthropic-version: 2023-06-01' \
182 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
184 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
183185```
184186
185187### Response (200)
api/admin/federation_issuers/retrieve Changed · +3 / -1 lines
from line 2
22
33**GET** `/v1/organizations/federation_issuers/{federation_issuer_id}`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57Retrieve a federation issuer by its ID (`fdis_...`).
68
79## Path parameters
from line 168
166168```bash
167169curl https://api.anthropic.com/v1/organizations/federation_issuers/$FEDERATION_ISSUER_ID \
168170 -H 'anthropic-version: 2023-06-01' \
169 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
171 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
170172```
171173
172174### Response (200)
api/admin/federation_rules/list Changed · +3 / -1 lines
from line 2
22
33**GET** `/v1/organizations/federation_rules`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57List federation rules in your organization.
68
79Optionally filter by issuer with `issuer_id`. Archived rules are excluded
from line 170
168170```bash
169171curl https://api.anthropic.com/v1/organizations/federation_rules \
170172 -H 'anthropic-version: 2023-06-01' \
171 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
173 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
172174```
173175
174176### Response (200)
api/admin/federation_rules/retrieve Changed · +3 / -1 lines
from line 2
22
33**GET** `/v1/organizations/federation_rules/{federation_rule_id}`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57Retrieve a federation rule by its ID (`fdrl_...`).
68
79## Path parameters
from line 158
156158```bash
157159curl https://api.anthropic.com/v1/organizations/federation_rules/$FEDERATION_RULE_ID \
158160 -H 'anthropic-version: 2023-06-01' \
159 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
161 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
160162```
161163
162164### Response (200)
api/admin/federation_rules/workspaces/list Changed · +3 / -1 lines
from line 2
22
33**GET** `/v1/organizations/federation_rules/{federation_rule_id}/workspaces`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57List workspaces where this federation rule is enabled.
68
79Returns all workspace enablements in a single response; the `limit` and
from line 77
7577```bash
7678curl https://api.anthropic.com/v1/organizations/federation_rules/$FEDERATION_RULE_ID/workspaces \
7779 -H 'anthropic-version: 2023-06-01' \
78 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
80 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
7981```
8082
8183### Response (200)
api/admin/invites/create Changed · +1 / -1 lines
from line 118
118118curl https://api.anthropic.com/v1/organizations/invites \
119119 -H 'Content-Type: application/json' \
120120 -H 'anthropic-version: 2023-06-01' \
121 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
121 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
122122 -d '{
124124 "role": "user"
api/admin/invites/delete Changed · +1 / -1 lines
from line 30
3030curl https://api.anthropic.com/v1/organizations/invites/$INVITE_ID \
3131 -X DELETE \
3232 -H 'anthropic-version: 2023-06-01' \
33 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
33 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
3434```
3535
3636### Response (200)
api/admin/invites/list Changed · +1 / -1 lines
from line 137
137137```bash
138138curl https://api.anthropic.com/v1/organizations/invites \
139139 -H 'anthropic-version: 2023-06-01' \
140 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
140 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
141141```
142142
143143### Response (200)
api/admin/invites/retrieve Changed · +1 / -1 lines
from line 91
9191```bash
9292curl https://api.anthropic.com/v1/organizations/invites/$INVITE_ID \
9393 -H 'anthropic-version: 2023-06-01' \
94 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
94 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
9595```
9696
9797### Response (200)