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 change · api

Files changedapi/beta/files

Nearest release: v2.1.328, published under an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+122added
Lines−0removed
From line 243 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits27to this page, all time

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

The whole hunk

from line 243, old and new numbered
/
lines
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 
Feedback