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/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+223added
Lines−69removed
From line 91 where the diff opens
First seen 20 Aug 2026 this site's first read of the page
Recorded edits11to this page, all time

### Errors ### Errors ### Errors ### Errors ### Errors ## Errors ### file_not_downloadable ### storage_quota_exceeded ### file_expired

The whole hunk

from line 91, old and new numbered
/
lines
from line 91
9191 
9292 format: date-time
9393 
94### Errors
95 
96Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
97 
98Each code below is the value of `error.details.error_code` in the response body.
99 
100- `claude_code_key_creator_not_member` (HTTP status 400)
101 
102 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.
103 
104- `cmek_key_disabled` (HTTP status 400)
105 
106 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
107 
108- `cmek_key_network_blocked` (HTTP status 400)
109 
110 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.
111 
112- `organization_on_hold` (HTTP status 400)
113 
114 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.
115 
116- `storage_quota_exceeded` (HTTP status 400)
117 
118 The organization's file storage quota is exhausted. Delete files to free up space, then retry the upload.
119 
94120### Example
95121 
96122```bash
from line 238
212238 
213239 Opaque cursor for the next page. Supply as `?page=` to fetch the next page; null when there are no more results.
214240 
241### Errors
242 
243Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
244 
245Each code below is the value of `error.details.error_code` in the response body.
246 
247- `claude_code_key_creator_not_member` (HTTP status 400)
248 
249 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.
250 
251- `cmek_key_disabled` (HTTP status 400)
252 
253 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
254 
255- `cmek_key_network_blocked` (HTTP status 400)
256 
257 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.
258 
259- `organization_on_hold` (HTTP status 400)
260 
261 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.
262 
215263### Example
216264 
217265```bash
from line 314
266314 
267315 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.
268316 
317### Errors
318 
319Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
320 
321Each code below is the value of `error.details.error_code` in the response body.
322 
323- `claude_code_key_creator_not_member` (HTTP status 400)
324 
325 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.
326 
327- `cmek_key_disabled` (HTTP status 400)
328 
329 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
330 
331- `cmek_key_network_blocked` (HTTP status 400)
332 
333 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.
334 
335- `file_not_downloadable` (HTTP status 400)
336 
337 The file has `downloadable: false`. Only files generated by a tool, such as the code execution tool, can be downloaded.
338 
339- `organization_on_hold` (HTTP status 400)
340 
341 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.
342 
343- `file_expired` (HTTP status 404)
344 
345 The file's `expires_at` has passed, so its content is no longer available.
346 
269347### Example
270348 
271349```bash
from line 430
352430 
353431 format: date-time
354432 
433### Errors
434 
435Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
436 
437Each code below is the value of `error.details.error_code` in the response body.
438 
439- `claude_code_key_creator_not_member` (HTTP status 400)
440 
441 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.
442 
443- `cmek_key_disabled` (HTTP status 400)
444 
445 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
446 
447- `cmek_key_network_blocked` (HTTP status 400)
448 
449 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.
450 
451- `organization_on_hold` (HTTP status 400)
452 
453 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.
454 
355455### Example
356456 
357457```bash
from line 517
417517 
418518 ID of the deleted file.
419519 
520### Errors
521 
522Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
523 
524Each code below is the value of `error.details.error_code` in the response body.
525 
526- `claude_code_key_creator_not_member` (HTTP status 400)
527 
528 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.
529 
530- `cmek_key_disabled` (HTTP status 400)
531 
532 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
533 
534- `cmek_key_network_blocked` (HTTP status 400)
535 
536 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.
537 
538- `organization_on_hold` (HTTP status 400)
539 
540 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.
541 
420542### Example
421543 
422544```bash
from line 579
457579 
458580- `FileExpiredErrorDetails object`
459581 
460 The file's `expires_at` has passed, so its content is no longer available.
461 
462582 - `error_code: "file_expired"`
463583 
464584### File Metadata
from line 637
517637 
518638- `FileNotDownloadableErrorDetails object`
519639 
520 The file has `downloadable: false`. Only files generated by a tool, such as the code execution tool, can be downloaded.
521 
522640 - `error_code: "file_not_downloadable"`
523641 
524642### Storage Quota Exceeded Error Details
from line 643
525643 
526644- `StorageQuotaExceededErrorDetails object`
527645 
646 - `error_code: "storage_quota_exceeded"`
647 
648## Errors
649 
650### file_not_downloadable
651 
652HTTP status 400
653 
654- `"file_not_downloadable"`
655 
656 The file has `downloadable: false`. Only files generated by a tool, such as the code execution tool, can be downloaded.
657 
658 - `details: FileNotDownloadableErrorDetails`
659 
660 - `error_code: "file_not_downloadable"`
661 
662### storage_quota_exceeded
663 
664HTTP status 400
665 
666- `"storage_quota_exceeded"`
667 
528668 The organization's file storage quota is exhausted. Delete files to free up space, then retry the upload.
529669 
530 - `error_code: "storage_quota_exceeded"`
670 - `details: StorageQuotaExceededErrorDetails`
671 
672 - `error_code: "storage_quota_exceeded"`
673 
674### file_expired
675 
676HTTP status 404
677 
678- `"file_expired"`
679 
680 The file's `expires_at` has passed, so its content is no longer available.
681 
682 - `details: FileExpiredErrorDetails`
683 
684 - `error_code: "file_expired"`
531685 
Feedback