Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261119T000710Z

259 pages moved out of 923 read.

Pages moved 259 significant first
Pages read 923 in this capture
Captured 00:07 UTC
Corpus hash 74cf54600c83 corpus-hash

What this read moved

1-25 of 259, page 1 of 11

This capture is too large to show at once. Changes 1-25 of 259 are below, significant first; the rest are on the following screens.

api/beta Changed · +2025 / -3 lines

## Errors ### organization_not_enrolled_in_beta ### unsupported_charset #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors

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 539
539539 
540540- `BetaOrganizationNotEnrolledInBetaErrorDetails object`
541541 
542 The beta that the endpoint requires is not enabled for the organization. The message names the beta value.
543 
544542 - `error_code: "organization_not_enrolled_in_beta"`
545543 
546544### Beta Overloaded Error
from line 593
595593 
596594- `BetaUnsupportedCharsetErrorDetails object`
597595 
596 - `error_code: "unsupported_charset"`
597 
598## Errors
599 
600### organization_not_enrolled_in_beta
601 
602HTTP status 400
603 
604- `"organization_not_enrolled_in_beta"`
605 
606 The beta that the endpoint requires is not enabled for the organization. The message names the beta value.
607 
608 - `details: BetaOrganizationNotEnrolledInBetaErrorDetails`
609 
610 - `error_code: "organization_not_enrolled_in_beta"`
611 
612### unsupported_charset
613 
614HTTP status 400
615 
616- `"unsupported_charset"`
617 
598618 The request's `Content-Type` header names a charset other than UTF-8, ISO-8859-1 or US-ASCII. Send the request with no charset, or with one of these.
599619 
600 - `error_code: "unsupported_charset"`
620 - `details: BetaUnsupportedCharsetErrorDetails`
601621 
622 - `error_code: "unsupported_charset"`
623 
602624## Beta › Models
603625 
604626### List Models
from line 1043
10211043 
10221044 Last ID in the `data` list. Can be used as the `after_id` for the next page.
10231045 
1046#### Errors
1047 
1048Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1049 
1050Each code below is the value of `error.details.error_code` in the response body.
1051 
1052- `claude_code_key_creator_not_member` (HTTP status 400)
1053 
1054 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1055 
1056- `organization_on_hold` (HTTP status 400)
1057 
1058 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1059 
10241060#### Example
10251061 
10261062```bash
from line 1558
15221558 
15231559 format: date-time
15241560 
1561#### Errors
1562 
1563Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1564 
1565Each code below is the value of `error.details.error_code` in the response body.
1566 
1567- `claude_code_key_creator_not_member` (HTTP status 400)
1568 
1569 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1570 
1571- `organization_on_hold` (HTTP status 400)
1572 
1573 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1574 
15251575#### Example
15261576 
15271577```bash
from line 7578
75287578 
75297579 `read_page`'s config overrides.
75307580 
7531 - `defer_loading: optional boolean or null`
7532 
7533 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7534 
7535 - `enabled: optional boolean or null`
7536 
7537 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7538 
7539 - `right_click: optional BetaBrowserRightClickConfig or null`
7540 
7541 `right_click`'s config overrides.
7542 
7543 - `defer_loading: optional boolean or null`
7544 
7545 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7546 
7547 - `enabled: optional boolean or null`
7548 
7549 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7550 
7551 - `screenshot: optional BetaBrowserScreenshotConfig or null`
7552 
7553 `screenshot`'s config overrides.
7554 
7555 - `defer_loading: optional boolean or null`
7556 
7557 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7558 
7559 - `enabled: optional boolean or null`
7560 
7561 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7562 
7563 - `scroll: optional BetaBrowserScrollConfig or null`
7564 
7565 `scroll`'s config overrides.
7566 
7567
7581

api/beta/environments Changed · +244 / -12 lines

### Errors ### Errors ### Errors ### Errors ### Errors ### Errors ## Errors ### environment_archived ### invalid_config_type_change ### invalid_metadata ### environment_create_disabled ### environment_update_disabled ### environment_not_found #### Errors #### Errors #### Errors #### Errors #### Errors

from line 417
417417 
418418 - `"account"`
419419 
420### Errors
421 
422Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
423 
424Each code below is the value of `error.details.error_code` in the response body.
425 
426- `claude_code_key_creator_not_member` (HTTP status 400)
427 
428 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
429 
430- `organization_on_hold` (HTTP status 400)
431 
432 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
433 
434- `environment_create_disabled` (HTTP status 403)
435 
436 Anthropic has turned off creating environments for this organization. Existing environments still work.
437 
420438### Example
421439 
422440```bash
from line 820
802820 
803821 Token for fetching the next page of results. If `null`, there are no more results available. Pass this value to the `page` parameter in the next request.
804822 
823### Errors
824 
825Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
826 
827Each code below is the value of `error.details.error_code` in the response body.
828 
829- `claude_code_key_creator_not_member` (HTTP status 400)
830 
831 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
832 
833- `organization_on_hold` (HTTP status 400)
834 
835 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
836 
805837### Example
806838 
807839```bash
from line 1185
11531185 
11541186 - `"account"`
11551187 
1188### Errors
1189 
1190Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1191 
1192Each code below is the value of `error.details.error_code` in the response body.
1193 
1194- `claude_code_key_creator_not_member` (HTTP status 400)
1195 
1196 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1197 
1198- `organization_on_hold` (HTTP status 400)
1199 
1200 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1201 
11561202### Example
11571203 
11581204```bash
from line 1663
16171663 
16181664 - `"account"`
16191665 
1666### Errors
1667 
1668Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1669 
1670Each code below is the value of `error.details.error_code` in the response body.
1671 
1672- `claude_code_key_creator_not_member` (HTTP status 400)
1673 
1674 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1675 
1676- `environment_archived` (HTTP status 400)
1677 
1678 The environment is archived, so it cannot be updated.
1679 
1680- `invalid_config_type_change` (HTTP status 400)
1681 
1682 `config.type` differs from the environment's stored type, which cannot change after creation.
1683 
1684- `organization_on_hold` (HTTP status 400)
1685 
1686 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1687 
1688- `environment_update_disabled` (HTTP status 403)
1689 
1690 Anthropic has turned off updating environments for this organization. Existing environments still work as they are.
1691 
16201692### Example
16211693 
16221694```bash
from line 1921
18491921 
18501922 Environment identifier
18511923 
1924### Errors
1925 
1926Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1927 
1928Each code below is the value of `error.details.error_code` in the response body.
1929 
1930- `claude_code_key_creator_not_member` (HTTP status 400)
1931 
1932 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1933 
1934- `organization_on_hold` (HTTP status 400)
1935 
1936 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1937 
18521938### Example
18531939 
18541940```bash
from line 2252
21662252 
21672253 - `"account"`
21682254 
2255### Errors
2256 
2257Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2258 
2259Each code below is the value of `error.details.error_code` in the response body.
2260 
2261- `claude_code_key_creator_not_member` (HTTP status 400)
2262 
2263 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
2264 
2265- `organization_on_hold` (HTTP status 400)
2266 
2267 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
2268 
21692269### Example
21702270 
21712271```bash
from line 2613
25132613 
25142614- `BetaEnvironmentArchivedErrorDetails object`
25152615 
2516 The environment is archived, so it cannot be updated.
2517 
25182616 - `error_code: "environment_archived"`
25192617 
25202618### Beta Environment Create Disabled Error Details
from line 2619
25212619 
25222620- `BetaEnvironmentCreateDisabledErrorDetails object`
25232621 
2524 Anthropic has turned off creating environments for this organization. Existing environments still work.
2525 
25262622 - `error_code: "environment_create_disabled"`
25272623 
25282624### Beta Environment Delete Response
from line 2641
25452641 
25462642- `BetaEnvironmentNotFoundErrorDetails object`
25472643 
2548 `settings.environment_id` names no Environment within the organization's reach.
2549 
25502644 - `error_code: "environment_not_found"`
25512645 
25522646### Beta Environment Update Disabled Error Details
from line 2647
25532647 
25542648- `BetaEnvironmentUpdateDisabledErrorDetails object`
25552649 
2556 Anthropic has turned off updating environments for this organization. Existing environments still work as they are.
2557 
25582650 - `error_code: "environment_update_disabled"`
25592651 
25602652### Beta Invalid Config Type Change Error Details
from line 2653
25612653 
25622654- `BetaInvalidConfigTypeChangeErrorDetails object`
25632655 
2564 `config.type` differs from the environment's stored type, which cannot change after creation.
2565 
25662656 - `error_code: "invalid_config_type_change"`
25672657 
25682658### Beta Invalid Metadata Error Details
from line 2659
25692659 
25702660- `BetaInvalidMetadataErrorDetails object`
25712661 
2572 `metadata` has too many keys, a key or value that is too long, or a reserved key. The message names each problem.
2573 
25742662 - `error_code: "invalid_metadata"`
25752663 
25762664### Beta Limited Network
from line 2814
27262814 
27272815 Network policy type
27282816 
2817## Errors
2818 
2819### environment_archived
2820 
2821HTTP status 400
2822 
2823- `"environment_archived"`
2824 
2825 The environment is archived, so it cannot be updated.
2826 
2827 - `details: BetaEnvironmentArchivedErrorDetails`
2828 
2829 - `error_code: "environment_archived"`
2830 
2831### invalid_config_type_change
2832 
2833HTTP status 400
2834 
2835- `"invalid_config_type_change"`
2836 
2837 `config.type` differs from the environment's stored type, which cannot change after creation.
2838 
2839 - `details: BetaInvalidConfigTypeChangeErrorDetails`
2840 
2841 - `error_code: "invalid_config_type_change"`
2842 
2843### invalid_metadata
2844 
2845HTTP status 400
2846 
2847- `"invalid_metadata"`
2848 
2849 `metadata` has too many keys, a key or value that is too long, or a reserved key. The message names each problem.
2850 
2851 - `details: BetaInvalidMetadataErrorDetails`
2852 
2853 - `error_code: "invalid_metadata"`
2854 
2855### environment_create_disabled
2856 
2857HTTP status 403
2858 
2859- `"environment_create_disabled"`
2860 
2861 Anthropic has turned off creating environments for this organization. Existing environments still work.
2862 
2863 - `details: BetaEnvironmentCreateDisabledErrorDetails`
2864 
2865 - `error_code: "environment_create_disabled"`
2866 
2867### environment_update_disabled
2868 
2869HTTP status 403
2870 
2871- `"environment_update_disabled"`
2872 
2873 Anthropic has turned off updating environments for this organization. Existing environments still work as they are.
2874 
2875 - `details: BetaEnvironmentUpdateDisabledErrorDetails`
2876 
2877 - `error_code: "environment_update_disabled"`
2878 
2879### environment_not_found
2880 
2881HTTP status 404
2882 
2883- `"environment_not_found"`
2884 
2885 `settings.environment_id` names no Environment within the organization's reach.
2886 
2887 - `details: BetaEnvironmentNotFoundErrorDetails`
2888 
2889 - `error_code: "environment_not_found"`
2890 
27292891## Environments › Work
27302892 
27312893### Get Work Item
from line 3140
29783140 
29793141 RFC 3339 timestamp when work execution stopped
29803142 
3143#### Errors
3144 
3145Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
3146 
3147Each code below is the value of `error.details.error_code` in the response body.
3148 
3149- `claude_code_key_creator_not_member` (HTTP status 400)
3150 
3151 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
3152 
3153- `organization_on_hold` (HTTP status 400)
3154 
3155 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
3156 
29813157#### Example
29823158 
29833159```bash
from line 3971
37953971 
37963972 Effective TTL applied to the lease
37973973 
3974#### Errors
3975 
3976Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
3977 
3978Each code below is the value of `error.details.error_code` in the response body.
3979 
3980- `heartbeat_precondition_failed` (HTTP status 412)
3981 
3982 `expected_last_heartbeat` does not match the stored heartbeat, so another worker may hold the lease.
3983 
37983984#### Example
37993985 
38003986```bash
from line 4261
40754261 
40764262 RFC 3339 timestamp when work execution stopped
40774263 
4264#### Errors
4265 
4266Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4267 
4268Each code below is the value of `error.details.error_code` in the response body.
4269 
4270- `claude_code_key_creator_not_member` (HTTP status 400)
4271 
4272 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
4273 
4274- `organization_on_hold` (HTTP status 400)
4275 
4276 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
4277 
40784278#### Example
40794279 
40804280```bash
from line 4864
46644864 
46654865 RFC 3339 timestamp when work execution stopped
46664866 
4867#### Errors
4868 
4869Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4870 
4871Each code below is the value of `error.details.error_code` in the response body.
4872 
4873- `claude_code_key_creator_not_member` (HTTP status 400)
4874 
4875 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
4876 
4877- `invalid_metadata` (HTTP status 400)
4878 
4879 `metadata` has too many keys, a key or value that is too long, or a reserved key. The message names each problem.
4880 
4881- `organization_on_hold` (HTTP status 400)
4882 
4883 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
4884 
46674885#### Example
46684886 
46694887```bash
from line 5115
48975115 - `workers_polling: number or null`
48985116 
48995117 Number of workers that have polled for work in the last 30 seconds. Requires worker_id to be sent with poll requests.
5118 
5119#### Errors
5120 
5121Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5122 
5123Each code below is the value of `error.details.error_code` in the response body.
5124 
5125- `claude_code_key_creator_not_member` (HTTP status 400)
5126 
5127 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
5128 
5129- `organization_on_hold` (HTTP status 400)
5130 
5131 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
49005132 
49015133#### Example
49025134 

api/beta/environments/archive Changed · +14 / -0 lines

## Errors

from line 301
301301 
302302 - `"account"`
303303 
304## Errors
305 
306Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
307 
308Each code below is the value of `error.details.error_code` in the response body.
309 
310- `claude_code_key_creator_not_member` (HTTP status 400)
311 
312 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
313 
314- `organization_on_hold` (HTTP status 400)
315 
316 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
317 
304318## Example
305319 
306320```bash

api/beta/environments/create Changed · +18 / -0 lines

## Errors

from line 415
415415 
416416 - `"account"`
417417 
418## Errors
419 
420Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
421 
422Each code below is the value of `error.details.error_code` in the response body.
423 
424- `claude_code_key_creator_not_member` (HTTP status 400)
425 
426 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
427 
428- `organization_on_hold` (HTTP status 400)
429 
430 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
431 
432- `environment_create_disabled` (HTTP status 403)
433 
434 Anthropic has turned off creating environments for this organization. Existing environments still work.
435 
418436## Example
419437 
420438```bash

api/beta/environments/delete Changed · +14 / -0 lines

## Errors

from line 183
183183 
184184 Environment identifier
185185 
186## Errors
187 
188Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
189 
190Each code below is the value of `error.details.error_code` in the response body.
191 
192- `claude_code_key_creator_not_member` (HTTP status 400)
193 
194 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
195 
196- `organization_on_hold` (HTTP status 400)
197 
198 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
199 
186200## Example
187201 
188202```bash

api/beta/environments/list Changed · +14 / -0 lines

## Errors

from line 319
319319 
320320 Token for fetching the next page of results. If `null`, there are no more results available. Pass this value to the `page` parameter in the next request.
321321 
322## Errors
323 
324Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
325 
326Each code below is the value of `error.details.error_code` in the response body.
327 
328- `claude_code_key_creator_not_member` (HTTP status 400)
329 
330 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
331 
332- `organization_on_hold` (HTTP status 400)
333 
334 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
335 
322336## Example
323337 
324338```bash

api/beta/environments/retrieve Changed · +14 / -0 lines

## Errors

from line 301
301301 
302302 - `"account"`
303303 
304## Errors
305 
306Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
307 
308Each code below is the value of `error.details.error_code` in the response body.
309 
310- `claude_code_key_creator_not_member` (HTTP status 400)
311 
312 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
313 
314- `organization_on_hold` (HTTP status 400)
315 
316 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
317 
304318## Example
305319 
306320```bash

api/beta/environments/update Changed · +26 / -0 lines

## Errors

from line 419
419419 
420420 - `"account"`
421421 
422## Errors
423 
424Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
425 
426Each code below is the value of `error.details.error_code` in the response body.
427 
428- `claude_code_key_creator_not_member` (HTTP status 400)
429 
430 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
431 
432- `environment_archived` (HTTP status 400)
433 
434 The environment is archived, so it cannot be updated.
435 
436- `invalid_config_type_change` (HTTP status 400)
437 
438 `config.type` differs from the environment's stored type, which cannot change after creation.
439 
440- `organization_on_hold` (HTTP status 400)
441 
442 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
443 
444- `environment_update_disabled` (HTTP status 403)
445 
446 Anthropic has turned off updating environments for this organization. Existing environments still work as they are.
447 
422448## Example
423449 
424450```bash

api/beta/environments/work Changed · +114 / -2 lines

### Errors ### Errors ### Errors ### Errors ### Errors ## Errors ### heartbeat_precondition_failed

from line 255
255255 
256256 RFC 3339 timestamp when work execution stopped
257257 
258### Errors
259 
260Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
261 
262Each code below is the value of `error.details.error_code` in the response body.
263 
264- `claude_code_key_creator_not_member` (HTTP status 400)
265 
266 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
267 
268- `organization_on_hold` (HTTP status 400)
269 
270 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
271 
258272### Example
259273 
260274```bash
from line 1086
10721086 
10731087 Effective TTL applied to the lease
10741088 
1089### Errors
1090 
1091Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1092 
1093Each code below is the value of `error.details.error_code` in the response body.
1094 
1095- `heartbeat_precondition_failed` (HTTP status 412)
1096 
1097 `expected_last_heartbeat` does not match the stored heartbeat, so another worker may hold the lease.
1098 
10751099### Example
10761100 
10771101```bash
from line 1376
13521376 
13531377 RFC 3339 timestamp when work execution stopped
13541378 
1379### Errors
1380 
1381Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1382 
1383Each code below is the value of `error.details.error_code` in the response body.
1384 
1385- `claude_code_key_creator_not_member` (HTTP status 400)
1386 
1387 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1388 
1389- `organization_on_hold` (HTTP status 400)
1390 
1391 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1392 
13551393### Example
13561394 
13571395```bash
from line 1979
19411979 
19421980 RFC 3339 timestamp when work execution stopped
19431981 
1982### Errors
1983 
1984Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1985 
1986Each code below is the value of `error.details.error_code` in the response body.
1987 
1988- `claude_code_key_creator_not_member` (HTTP status 400)
1989 
1990 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1991 
1992- `invalid_metadata` (HTTP status 400)
1993 
1994 `metadata` has too many keys, a key or value that is too long, or a reserved key. The message names each problem.
1995 
1996- `organization_on_hold` (HTTP status 400)
1997 
1998 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1999 
19442000### Example
19452001 
19462002```bash
from line 2231
21752231 
21762232 Number of workers that have polled for work in the last 30 seconds. Requires worker_id to be sent with poll requests.
21772233 
2234### Errors
2235 
2236Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
2237 
2238Each code below is the value of `error.details.error_code` in the response body.
2239 
2240- `claude_code_key_creator_not_member` (HTTP status 400)
2241 
2242 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
2243 
2244- `organization_on_hold` (HTTP status 400)
2245 
2246 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
2247 
21782248### Example
21792249 
21802250```bash
from line 2272
22022272 
22032273- `BetaHeartbeatPreconditionFailedErrorDetails object`
22042274 
2205 `expected_last_heartbeat` does not match the stored heartbeat, so another worker may hold the lease.
2206 
22072275 - `current_state: BetaWorkLeaseState`
22082276 
22092277 The lease as the server holds it.
from line 2610
25422610 - `ttl_seconds: number`
25432611 
25442612 TTL of the lease
2613 
2614## Errors
2615 
2616### heartbeat_precondition_failed
2617 
2618HTTP status 412
2619 
2620- `"heartbeat_precondition_failed"`
2621 
2622 `expected_last_heartbeat` does not match the stored heartbeat, so another worker may hold the lease.
2623 
2624 - `details: BetaHeartbeatPreconditionFailedErrorDetails`
2625 
2626 - `current_state: BetaWorkLeaseState`
2627 
2628 The lease as the server holds it.
2629 
2630 - `last_heartbeat: string or null`
2631 
2632 RFC 3339 timestamp of the stored heartbeat, or null if there has been none
2633 
2634 - `lease_extended: boolean`
2635 
2636 Always false: a refused heartbeat does not extend the lease
2637 
2638 - `state: "queued" or "starting" or "active" or 2 more`
2639 
2640 Current state of the work item
2641 
2642 - `"queued"`
2643 
2644 - `"starting"`
2645 
2646 - `"active"`
2647 
2648 - `"stopping"`
2649 
2650 - `"stopped"`
2651 
2652 - `ttl_seconds: number`
2653 
2654 TTL of the lease
2655 
2656 - `error_code: "heartbeat_precondition_failed"`
25452657 

api/beta/environments/work/heartbeat Changed · +10 / -0 lines

## Errors

from line 213
213213 
214214 Effective TTL applied to the lease
215215 
216## Errors
217 
218Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
219 
220Each code below is the value of `error.details.error_code` in the response body.
221 
222- `heartbeat_precondition_failed` (HTTP status 412)
223 
224 `expected_last_heartbeat` does not match the stored heartbeat, so another worker may hold the lease.
225 
216226## Example
217227 
218228```bash

api/beta/environments/work/retrieve Changed · +14 / -0 lines

## Errors

from line 253
253253 
254254 RFC 3339 timestamp when work execution stopped
255255 
256## Errors
257 
258Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
259 
260Each code below is the value of `error.details.error_code` in the response body.
261 
262- `claude_code_key_creator_not_member` (HTTP status 400)
263 
264 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
265 
266- `organization_on_hold` (HTTP status 400)
267 
268 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
269 
256270## Example
257271 
258272```bash

api/beta/environments/work/stats Changed · +14 / -0 lines

## Errors

from line 197
197197 
198198 Number of workers that have polled for work in the last 30 seconds. Requires worker_id to be sent with poll requests.
199199 
200## Errors
201 
202Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
203 
204Each code below is the value of `error.details.error_code` in the response body.
205 
206- `claude_code_key_creator_not_member` (HTTP status 400)
207 
208 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
209 
210- `organization_on_hold` (HTTP status 400)
211 
212 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
213 
200214## Example
201215 
202216```bash

api/beta/environments/work/stop Changed · +14 / -0 lines

## Errors

from line 261
261261 
262262 RFC 3339 timestamp when work execution stopped
263263 
264## Errors
265 
266Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
267 
268Each code below is the value of `error.details.error_code` in the response body.
269 
270- `claude_code_key_creator_not_member` (HTTP status 400)
271 
272 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
273 
274- `organization_on_hold` (HTTP status 400)
275 
276 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
277 
264278## Example
265279 
266280```bash

api/beta/environments/work/update Changed · +18 / -0 lines

## Errors

from line 259
259259 
260260 RFC 3339 timestamp when work execution stopped
261261 
262## Errors
263 
264Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
265 
266Each code below is the value of `error.details.error_code` in the response body.
267 
268- `claude_code_key_creator_not_member` (HTTP status 400)
269 
270 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
271 
272- `invalid_metadata` (HTTP status 400)
273 
274 `metadata` has too many keys, a key or value that is too long, or a reserved key. The message names each problem.
275 
276- `organization_on_hold` (HTTP status 400)
277 
278 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
279 
262280## Example
263281 
264282```bash

api/beta/files Changed · +122 / -0 lines

### Errors ### Errors ### Errors ### Errors ### Errors

from line 243
243243 
244244 The ID of the scoping resource (e.g., the session ID).
245245 
246### Errors
247 
248Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
249 
250Each code below is the value of `error.details.error_code` in the response body.
251 
252- `claude_code_key_creator_not_member` (HTTP status 400)
253 
254 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
255 
256- `cmek_key_disabled` (HTTP status 400)
257 
258 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
259 
260- `cmek_key_network_blocked` (HTTP status 400)
261 
262 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
263 
264- `organization_on_hold` (HTTP status 400)
265 
266 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
267 
268- `storage_quota_exceeded` (HTTP status 400)
269 
270 The organization's file storage quota is exhausted. Delete files to free up space, then retry the upload.
271 
246272### Example
247273 
248274```bash
from line 550
524550 
525551 Opaque cursor for the next page. Supply as `?page=` to fetch the next page; null when there are no more results.
526552 
553### Errors
554 
555Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
556 
557Each code below is the value of `error.details.error_code` in the response body.
558 
559- `claude_code_key_creator_not_member` (HTTP status 400)
560 
561 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
562 
563- `cmek_key_disabled` (HTTP status 400)
564 
565 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
566 
567- `cmek_key_network_blocked` (HTTP status 400)
568 
569 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
570 
571- `organization_on_hold` (HTTP status 400)
572 
573 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
574 
527575### Example
528576 
529577```bash
from line 770
722770 
723771 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
724772 
773### Errors
774 
775Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
776 
777Each code below is the value of `error.details.error_code` in the response body.
778 
779- `claude_code_key_creator_not_member` (HTTP status 400)
780 
781 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
782 
783- `cmek_key_disabled` (HTTP status 400)
784 
785 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
786 
787- `cmek_key_network_blocked` (HTTP status 400)
788 
789 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
790 
791- `file_not_downloadable` (HTTP status 400)
792 
793 The file has `downloadable: false`. Only files generated by a tool, such as the code execution tool, can be downloaded.
794 
795- `organization_on_hold` (HTTP status 400)
796 
797 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
798 
799- `file_expired` (HTTP status 404)
800 
801 The file's `expires_at` has passed, so its content is no longer available.
802 
725803### Example
726804 
727805```bash
from line 1038
9601038 
9611039 The ID of the scoping resource (e.g., the session ID).
9621040 
1041### Errors
1042 
1043Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1044 
1045Each code below is the value of `error.details.error_code` in the response body.
1046 
1047- `claude_code_key_creator_not_member` (HTTP status 400)
1048 
1049 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1050 
1051- `cmek_key_disabled` (HTTP status 400)
1052 
1053 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
1054 
1055- `cmek_key_network_blocked` (HTTP status 400)
1056 
1057 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
1058 
1059- `organization_on_hold` (HTTP status 400)
1060 
1061 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
1062 
9631063### Example
9641064 
9651065```bash
from line 1268
11681268 - `id: string`
11691269 
11701270 ID of the deleted file.
1271 
1272### Errors
1273 
1274Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
1275 
1276Each code below is the value of `error.details.error_code` in the response body.
1277 
1278- `claude_code_key_creator_not_member` (HTTP status 400)
1279 
1280 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
1281 
1282- `cmek_key_disabled` (HTTP status 400)
1283 
1284 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
1285 
1286- `cmek_key_network_blocked` (HTTP status 400)
1287 
1288 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
1289 
1290- `organization_on_hold` (HTTP status 400)
1291 
1292 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
11711293 
11721294### Example
11731295 

api/beta/files/delete Changed · +22 / -0 lines

## Errors

from line 185
185185 
186186 ID of the deleted file.
187187 
188## Errors
189 
190Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
191 
192Each code below is the value of `error.details.error_code` in the response body.
193 
194- `claude_code_key_creator_not_member` (HTTP status 400)
195 
196 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
197 
198- `cmek_key_disabled` (HTTP status 400)
199 
200 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
201 
202- `cmek_key_network_blocked` (HTTP status 400)
203 
204 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
205 
206- `organization_on_hold` (HTTP status 400)
207 
208 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
209 
188210## Example
189211 
190212```bash

api/beta/files/download Changed · +30 / -0 lines

## Errors

from line 169
169169 
170170 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
171171 
172## Errors
173 
174Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
175 
176Each code below is the value of `error.details.error_code` in the response body.
177 
178- `claude_code_key_creator_not_member` (HTTP status 400)
179 
180 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
181 
182- `cmek_key_disabled` (HTTP status 400)
183 
184 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
185 
186- `cmek_key_network_blocked` (HTTP status 400)
187 
188 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
189 
190- `file_not_downloadable` (HTTP status 400)
191 
192 The file has `downloadable: false`. Only files generated by a tool, such as the code execution tool, can be downloaded.
193 
194- `organization_on_hold` (HTTP status 400)
195 
196 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
197 
198- `file_expired` (HTTP status 404)
199 
200 The file's `expires_at` has passed, so its content is no longer available.
201 
172202## Example
173203 
174204```bash

api/beta/files/list Changed · +22 / -0 lines

## Errors

from line 255
255255 
256256 Opaque cursor for the next page. Supply as `?page=` to fetch the next page; null when there are no more results.
257257 
258## Errors
259 
260Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
261 
262Each code below is the value of `error.details.error_code` in the response body.
263 
264- `claude_code_key_creator_not_member` (HTTP status 400)
265 
266 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
267 
268- `cmek_key_disabled` (HTTP status 400)
269 
270 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
271 
272- `cmek_key_network_blocked` (HTTP status 400)
273 
274 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
275 
276- `organization_on_hold` (HTTP status 400)
277 
278 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
279 
258280## Example
259281 
260282```bash

api/beta/files/retrieve_metadata Changed · +22 / -0 lines

## Errors

from line 233
233233 
234234 The ID of the scoping resource (e.g., the session ID).
235235 
236## Errors
237 
238Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
239 
240Each code below is the value of `error.details.error_code` in the response body.
241 
242- `claude_code_key_creator_not_member` (HTTP status 400)
243 
244 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
245 
246- `cmek_key_disabled` (HTTP status 400)
247 
248 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
249 
250- `cmek_key_network_blocked` (HTTP status 400)
251 
252 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
253 
254- `organization_on_hold` (HTTP status 400)
255 
256 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
257 
236258## Example
237259 
238260```bash

api/beta/files/upload Changed · +26 / -0 lines

## Errors

from line 241
241241 
242242 The ID of the scoping resource (e.g., the session ID).
243243 
244## Errors
245 
246Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
247 
248Each code below is the value of `error.details.error_code` in the response body.
249 
250- `claude_code_key_creator_not_member` (HTTP status 400)
251 
252 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
253 
254- `cmek_key_disabled` (HTTP status 400)
255 
256 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
257 
258- `cmek_key_network_blocked` (HTTP status 400)
259 
260 The key management service's network access controls blocked the request to the workspace's customer-managed encryption key. The key itself may be healthy.
261 
262- `organization_on_hold` (HTTP status 400)
263 
264 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
265 
266- `storage_quota_exceeded` (HTTP status 400)
267 
268 The organization's file storage quota is exhausted. Delete files to free up space, then retry the upload.
269 
244270## Example
245271 
246272```bash

api/beta/messages Changed · +290 / -0 lines

### Errors ### Errors #### Errors #### Errors #### Errors #### Errors #### Errors #### Errors

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

Nothing in the body moved in this read. What changed is above.

api/beta/messages/batches Changed · +96 / -0 lines

### Errors ### Errors ### Errors ### Errors ### Errors ### Errors

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 4489
44894489 
44904490 Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests.
44914491 
4492### Errors
4493 
4494Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4495 
4496Each code below is the value of `error.details.error_code` in the response body.
4497 
4498- `claude_code_key_creator_not_member` (HTTP status 400)
4499 
4500 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
4501 
4502- `cmek_key_disabled` (HTTP status 400)
4503 
4504 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
4505 
4506- `organization_on_hold` (HTTP status 400)
4507 
4508 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
4509 
4510- `enforced_spend_limit_reached` (HTTP status 429)
4511 
4512 The organization has crossed the monthly API usage threshold of its API tier.
4513 
44924514### Example
44934515 
44944516```bash
from line 4838
48164838 
48174839 Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests.
48184840 
4841### Errors
4842 
4843Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4844 
4845Each code below is the value of `error.details.error_code` in the response body.
4846 
4847- `claude_code_key_creator_not_member` (HTTP status 400)
4848 
4849 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
4850 
4851- `organization_on_hold` (HTTP status 400)
4852 
4853 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
4854 
48194855### Example
48204856 
48214857```bash
from line 5185
51495185 
51505186 Last ID in the `data` list. Can be used as the `after_id` for the next page.
51515187 
5188### Errors
5189 
5190Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5191 
5192Each code below is the value of `error.details.error_code` in the response body.
5193 
5194- `claude_code_key_creator_not_member` (HTTP status 400)
5195 
5196 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
5197 
5198- `organization_on_hold` (HTTP status 400)
5199 
5200 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
5201 
51525202### Example
51535203 
51545204```bash
from line 5517
54675517 
54685518 Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests.
54695519 
5520### Errors
5521 
5522Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5523 
5524Each code below is the value of `error.details.error_code` in the response body.
5525 
5526- `claude_code_key_creator_not_member` (HTTP status 400)
5527 
5528 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
5529 
5530- `organization_on_hold` (HTTP status 400)
5531 
5532 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
5533 
54705534### Example
54715535 
54725536```bash
from line 5749
56855749 
56865750 ID of the Message Batch.
56875751 
5752### Errors
5753 
5754Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
5755 
5756Each code below is the value of `error.details.error_code` in the response body.
5757 
5758- `claude_code_key_creator_not_member` (HTTP status 400)
5759 
5760 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
5761 
5762- `organization_on_hold` (HTTP status 400)
5763 
5764 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
5765 
56885766### Example
56895767 
56905768```bash
from line 7232
71547232 
71557233 The browser toolset: a single `tools[]` entry (carrying no
71567234 `name`) that declares the browser tool family. The model is served
7157 the family's tool with any members disabled via `configs` removed
7158 from its schema.
7159 
7160 - `type: "browser_toolset_20260801"`
7161 
7162 - `cache_control: optional BetaCacheControlEphemeral or null`
7163 
7164 Create a cache control breakpoint at this content block.
7165 
7166 - `configs: optional BetaBrowserToolsetConfigs or null`
7167 
7168 Sparse per-member overrides, keyed by member name. Absent, null, and {} are equivalent; a member's defaults apply wherever its key is absent.
7169 
7170 - `type: optional BetaBrowserTypeConfig or null`
7171 
7172 `type`'s config overrides.
7173 
7174 - `defer_loading: optional boolean or null`
7175 
7176 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7177 
7178 - `enabled: optional boolean or null`
7179 
7180 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7181 
7182 - `close_tab: optional BetaBrowserCloseTabConfig or null`
7183 
7184 `close_tab`'s config overrides.
7185 
7186 - `defer_loading: optional boolean or null`
7187 
7188 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7189 
7190 - `enabled: optional boolean or null`
7191 
7192 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7193 
7194 - `double_click: optional BetaBrowserDoubleClickConfig or null`
7195 
7196 `double_click`'s config overrides.
7197 
7198 - `defer_loading: optional boolean or null`
7199 
7200 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7201 
7202 - `enabled: optional boolean or null`
7203 
7204 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7205 
7206 - `file_upload: optional BetaBrowserFileUploadConfig or null`
7207 
7208 `file_upload`'s config overrides.
7209 
7210 - `defer_loading: optional boolean or null`
7211 
7212 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7213 
7214 - `enabled: optional boolean or null`
7215 
7216 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7217 
7218 - `find: optional BetaBrowserFindConfig or null`
7219 
7220 `find`'s config overrides.
7221 
7222 - `defer_loading: optional boolean or null`
7223 
7224 Defer loading for this member. Must resolve to the same value on every enabled member of the toolset.
7225 
7226 - `enabled: optional boolean or null`
7227 
7228 Whether this member is offered to the model. Default is per member, per the toolset's documentation. A member whose enabled resolves false is withheld from the served schema.
7229 
7230
7235

api/beta/messages/batches/cancel Changed · +14 / -0 lines

## Errors

from line 283
283283 
284284 Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests.
285285 
286## Errors
287 
288Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
289 
290Each code below is the value of `error.details.error_code` in the response body.
291 
292- `claude_code_key_creator_not_member` (HTTP status 400)
293 
294 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
295 
296- `organization_on_hold` (HTTP status 400)
297 
298 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
299 
286300## Example
287301 
288302```bash

api/beta/messages/batches/create Changed · +22 / -0 lines

## Errors

from line 4487
44874487 
44884488 Results in the file are not guaranteed to be in the same order as requests. Use the `custom_id` field to match results to requests.
44894489 
4490## Errors
4491 
4492Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
4493 
4494Each code below is the value of `error.details.error_code` in the response body.
4495 
4496- `claude_code_key_creator_not_member` (HTTP status 400)
4497 
4498 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
4499 
4500- `cmek_key_disabled` (HTTP status 400)
4501 
4502 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
4503 
4504- `organization_on_hold` (HTTP status 400)
4505 
4506 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
4507 
4508- `enforced_spend_limit_reached` (HTTP status 429)
4509 
4510 The organization has crossed the monthly API usage threshold of its API tier.
4511 
44904512## Example
44914513 
44924514```bash

api/beta/messages/batches/delete Changed · +14 / -0 lines

## Errors

from line 189
189189 
190190 ID of the Message Batch.
191191 
192## Errors
193 
194Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
195 
196Each code below is the value of `error.details.error_code` in the response body.
197 
198- `claude_code_key_creator_not_member` (HTTP status 400)
199 
200 The API key belongs to the Claude Code workspace, and the user who created it is no longer a member of the organization or of that workspace.
201 
202- `organization_on_hold` (HTTP status 400)
203 
204 Anthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code. `appeal_url`, when present, is where the organization can appeal.
205 
192206## Example
193207 
194208```bash
Feedback