This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.
from line 133
133133
134134 - `"user"`
135135
136### Beta Report Page Too Large Error Details
137
138- `BetaReportPageTooLargeErrorDetails object`
139
140 - `error_code: "report_page_too_large"`
141
142### Beta Too Many Report Groups Error Details
143
144- `BetaTooManyReportGroupsErrorDetails object`
145
146 - `error_code: "too_many_report_groups"`
147
136148## Errors
137149
138150### approval_required
from line 187
175187
176188 - `error_code: "organization_not_eligible"`
177189
190### report_page_too_large
191
192HTTP status 400
193
194- `"report_page_too_large"`
195
196 The requested page of the report has more usage than one page can hold. Send a lower `limit` and page through the rest.
197
198 - `details: BetaReportPageTooLargeErrorDetails`
199
200 - `error_code: "report_page_too_large"`
201
202### too_many_report_groups
203
204HTTP status 400
205
206- `"too_many_report_groups"`
207
208 A day in the report has usage in more groups than the report can return. The error message names the endpoint to use instead.
209
210 - `details: BetaTooManyReportGroupsErrorDetails`
211
212 - `error_code: "too_many_report_groups"`
213
178214### authorization_check_unavailable
179215
180216HTTP status 503
from line 421
385421{
386422 "data": [
387423 {
388 "id": "apikey_01Rj2N8SVvo6BePZj99NhmiT",
424 "id": "apikey_01BcDeFgHjKmNpQrStUvWxYz",
389425 "created_at": "2024-10-30T23:58:27.427722Z",
390426 "created_by": {
391427 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
from line 436
400436 },
401437 "scope": {
402438 "type": "workspace",
403 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
439 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
404440 },
405441 "status": "active",
406442 "type": "api_key"
from line 598
562598
563599```json
564600{
565 "id": "apikey_01Rj2N8SVvo6BePZj99NhmiT",
601 "id": "apikey_01BcDeFgHjKmNpQrStUvWxYz",
566602 "created_at": "2024-10-30T23:58:27.427722Z",
567603 "created_by": {
568604 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
from line 613
577613 },
578614 "scope": {
579615 "type": "workspace",
580 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
616 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
581617 },
582618 "status": "active",
583619 "type": "api_key"
from line 790
754790
755791 The workspace has reached its limit of active API keys.
756792
793- `api_key_requester_unconfirmed` (HTTP status 403)
794
795 The API could not confirm that this request came from your organization, so it refused a change to an API key. If you were updating an API key, the key did not change. If you were archiving a service account, it is archived, but some of its API keys are not. If you were removing a user, they are still a member, but they may be signed out and some of their API keys may be turned off. It is safe to send the same request again. If the error continues, contact Anthropic support and give them the `request_id` from this response.
796
757797- `sandbox_egress_restricted` (HTTP status 403)
758798
759799 The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
from line 812
772812
773813```json
774814{
775 "id": "apikey_01Rj2N8SVvo6BePZj99NhmiT",
815 "id": "apikey_01BcDeFgHjKmNpQrStUvWxYz",
776816 "created_at": "2024-10-30T23:58:27.427722Z",
777817 "created_by": {
778818 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
from line 827
787827 },
788828 "scope": {
789829 "type": "workspace",
790 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
830 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
791831 },
792832 "status": "active",
793833 "type": "api_key"
from line 1922
18821922
18831923 - `"efs-2026-10-01"`
18841924
1925 - `"google-managed-data-controls-2026-09-01"`
1926
18851927 - `"user-profiles-billing-2026-10-01"`
18861928
18871929 - `"message-batches-2024-09-24"`
from line 2370
23282370
23292371 - `"efs-2026-10-01"`
23302372
2373 - `"google-managed-data-controls-2026-09-01"`
2374
23312375 - `"user-profiles-billing-2026-10-01"`
23322376
23332377 - `"message-batches-2024-09-24"`
from line 2719
26752719
26762720 - `"efs-2026-10-01"`
26772721
2722 - `"google-managed-data-controls-2026-09-01"`
2723
26782724 - `"user-profiles-billing-2026-10-01"`
26792725
26802726 - `"message-batches-2024-09-24"`
from line 3071
30253071
30263072 - `"efs-2026-10-01"`
30273073
3074 - `"google-managed-data-controls-2026-09-01"`
3075
30283076 - `"user-profiles-billing-2026-10-01"`
30293077
30303078 - `"message-batches-2024-09-24"`
from line 3511
34633511
34643512 - `"efs-2026-10-01"`
34653513
3514 - `"google-managed-data-controls-2026-09-01"`
3515
34663516 - `"user-profiles-billing-2026-10-01"`
34673517
34683518 - `"message-batches-2024-09-24"`
from line 3877
38273877
38283878 - `"efs-2026-10-01"`
38293879
3880 - `"google-managed-data-controls-2026-09-01"`
3881
38303882 - `"user-profiles-billing-2026-10-01"`
38313883
38323884 - `"message-batches-2024-09-24"`
from line 4169
41174169 "service_account_id": "svac_01SDCCSbTxrXDpWc1phhtcfK",
41184170 "type": "service_account"
41194171 },
4120 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
4172 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
41214173 }'
41224174```
41234175
from line 4358
43064358
43074359 - `"efs-2026-10-01"`
43084360
4361 - `"google-managed-data-controls-2026-09-01"`
4362
43094363 - `"user-profiles-billing-2026-10-01"`
43104364
43114365 - `"message-batches-2024-09-24"`
from line 4707
46534707
46544708 - `"efs-2026-10-01"`
46554709
4710 - `"google-managed-data-controls-2026-09-01"`
4711
46564712 - `"user-profiles-billing-2026-10-01"`
46574713
46584714 - `"message-batches-2024-09-24"`
from line 5074
50185074
50195075 - `"efs-2026-10-01"`
50205076
5077 - `"google-managed-data-controls-2026-09-01"`
5078
50215079 - `"user-profiles-billing-2026-10-01"`
50225080
50235081 - `"message-batches-2024-09-24"`
from line 5523
54655523
54665524 - `"efs-2026-10-01"`
54675525
5526 - `"google-managed-data-controls-2026-09-01"`
5527
54685528 - `"user-profiles-billing-2026-10-01"`
54695529
54705530 - `"message-batches-2024-09-24"`
from line 5896
58365896
58375897 - `"efs-2026-10-01"`
58385898
5899 - `"google-managed-data-controls-2026-09-01"`
5900
58395901 - `"user-profiles-billing-2026-10-01"`
58405902
58415903 - `"message-batches-2024-09-24"`
from line 5994
59325994 -H 'anthropic-version: 2026-10-21' \
59335995 -H "Authorization: Bearer $ANTHROPIC_API_KEY" \
59345996 -d '{
5935 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
5997 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
59365998 }'
59375999```
59386000
from line 6153
60916153
60926154 - `"efs-2026-10-01"`
60936155
6156 - `"google-managed-data-controls-2026-09-01"`
6157
60946158 - `"user-profiles-billing-2026-10-01"`
60956159
60966160 - `"message-batches-2024-09-24"`
from line 6390
63266390
63276391 - `"efs-2026-10-01"`
63286392
6393 - `"google-managed-data-controls-2026-09-01"`
6394
63296395 - `"user-profiles-billing-2026-10-01"`
63306396
63316397 - `"message-batches-2024-09-24"`
from line 7157
70917157
70927158 - `"efs-2026-10-01"`
70937159
7160 - `"google-managed-data-controls-2026-09-01"`
7161
70947162 - `"user-profiles-billing-2026-10-01"`
70957163
70967164 - `"message-batches-2024-09-24"`
from line 7466
73987466
73997467 - `"efs-2026-10-01"`
74007468
7469 - `"google-managed-data-controls-2026-09-01"`
7470
74017471 - `"user-profiles-billing-2026-10-01"`
74027472
74037473 - `"message-batches-2024-09-24"`
from line 7727
76577727
76587728 - `"efs-2026-10-01"`
76597729
7730 - `"google-managed-data-controls-2026-09-01"`
7731
76607732 - `"user-profiles-billing-2026-10-01"`
76617733
76627734 - `"message-batches-2024-09-24"`
from line 7989
79177989
79187990 - `"efs-2026-10-01"`
79197991
7992 - `"google-managed-data-controls-2026-09-01"`
7993
79207994 - `"user-profiles-billing-2026-10-01"`
79217995
79227996 - `"message-batches-2024-09-24"`
from line 8279
82058279
82068280 - `"efs-2026-10-01"`
82078281
8282 - `"google-managed-data-controls-2026-09-01"`
8283
82088284 - `"user-profiles-billing-2026-10-01"`
82098285
82108286 - `"message-batches-2024-09-24"`
from line 8392
83168392
83178393Each code below is the value of `error.details.error_code` in the response body.
83188394
8395- `api_key_requester_unconfirmed` (HTTP status 403)
8396
8397 The API could not confirm that this request came from your organization, so it refused a change to an API key. If you were updating an API key, the key did not change. If you were archiving a service account, it is archived, but some of its API keys are not. If you were removing a user, they are still a member, but they may be signed out and some of their API keys may be turned off. It is safe to send the same request again. If the error continues, contact Anthropic support and give them the `request_id` from this response.
8398
83198399- `sandbox_egress_restricted` (HTTP status 403)
83208400
83218401 The request came from a Claude sandbox with restricted network access, which is not allowed to make this request. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
from line 8560
84808560
84818561 - `"efs-2026-10-01"`
84828562
8563 - `"google-managed-data-controls-2026-09-01"`
8564
84838565 - `"user-profiles-billing-2026-10-01"`
84848566
84858567 - `"message-batches-2024-09-24"`
from line 8846
87648846
87658847 - `"efs-2026-10-01"`
87668848
8849 - `"google-managed-data-controls-2026-09-01"`
8850
87678851 - `"user-profiles-billing-2026-10-01"`
87688852
87698853 - `"message-batches-2024-09-24"`
from line 9094
90109094
90119095 - `"efs-2026-10-01"`
90129096
9097 - `"google-managed-data-controls-2026-09-01"`
9098
90139099 - `"user-profiles-billing-2026-10-01"`
90149100
90159101 - `"message-batches-2024-09-24"`
from line 9300
92149300
92159301 - `"efs-2026-10-01"`
92169302
9303 - `"google-managed-data-controls-2026-09-01"`
9304
92179305 - `"user-profiles-billing-2026-10-01"`
92189306
92199307 - `"message-batches-2024-09-24"`
from line 9723
96359723
96369724 - `"task-budgets-2026-03-13"`
96379725
9638 - `"thinking-display-updates-2026-08-18"`
9639
9640 - `"mid-conversation-output-config-2026-07-01"`
9641
9642 - `"thinking-binding-controls-2026-08-01"`
9643
9644 - `"mid-conversation-system-clear-at-2026-08-21"`
9645
9646 - `"compact-2026-09-04"`
9647
9648 - `"inline-tools-2026-09-15"`
9649
9650 - `"mcp-client-2026-09-15"`
9651
9652 - `"ce-plugins-2026-09-01"`
9653
9654 - `"spend-limit-reads-2026-09-26"`
9655
9656 - `"telemetry-destinations-2026-08-11"`
9657
9658 - `"webhooks-2026-10-07"`
9659
9660 - `"admin-user-sign-out-2026-10-08"`
9661
9662 - `"message-threads-2026-08-12"`
9663
9664 - `"analytics-usage-cost-2026-08-24"`
9665
9666 - `"experimental-claude-tag-2026-10-21"`
9667
9668 - `"ce-claude-code-managed-settings-2026-10-06"`
9669
9670 - `"efs-2026-10-01"`
9671
9672 - `"user-profiles-billing-2026-10-01"`
9673
9674 - `"message-batches-2024-09-24"`
9675
9676 **Deprecated**: This value is no longer needed. Remove it from your requests.
9677
9678 - `"prompt-caching-2024-07-31"`
9679
9680 **Deprecated**: This value is no longer needed. Remove it from your requests.
9681
9682 - `"pdfs-2024-09-25"`
9683
9684 **Deprecated**: This value is no longer needed. Remove it from your requests.
9685
9686 - `"token-counting-2024-11-01"`
9687
9688 **Deprecated**: This value is no longer needed. Remove it from your requests.
9689
9690 - `"token-efficient-tools-2025-02-19"`
9691
9692 **Deprecated**: This value is no longer needed. Remove it from your requests.
9693
9694 - `"files-api-2025-04-14"`
9695
9696 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14
9697
9698 - `"extended-cache-ttl-2025-04-11"`
9699
9700 **Deprecated**: This value is no longer needed. Remove it from your requests.
9701
9702 - `"skills-2025-10-02"`
9703
9704 **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02
9705
9706 - `"cache-diagnosis-2026-04-07"`
9707
9708 **Deprecated**: This value is no longer needed. Remove it from your requests.
9709
9710 - `"ce-user-management-2026-07-13"`
9711
9712 **Deprecated**: This value is no longer needed. Remove it from your requests.
9713
9714#### Returns
9715
9716- `data: array of BetaExternalStorage`
9717
9718 - `type: "external_storage"`
9719
9720 default: external_storage
9721
9722 - `id: string`
9723
9724 The External Storage ID, which starts with `estrg_`. Through Claude Platform on AWS, storage whose `provider_config.type` is `aws` has its bucket ARN as its ID instead: `arn:<partition>:s3:::<bucket_name>`, where `<partition>` is the partition of the bucket's region.
9725
9726 - `created_at: string`
9727
9728 format: date-time
9729
9730 - `display_name: string or null`
9731
9732 Human-friendly display name. Null if none was set.
9733
9734 - `provider_config: BetaAWSExternalStorageConfig or BetaGCPExternalStorageConfig`
9735
9736 - `BetaAWSExternalStorageConfig object`
9737
9738 An Amazon S3 bucket.
9739
9740 - `type: "aws"`
9741
9742 default: aws
9743
9744 - `account_id: string`
9745
9746 12-digit ID of the AWS account that owns the bucket.
9747
9748 - `bucket_name: string`
9749
9750 The bucket's name, without `s3
9726