Get File Metadata changedapi/files/retrieve_metadata
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+22added
Lines−0removed
From line
81
where the diff opens
First seen
20 Aug 2026
this site's first read of the page
Recorded edits9to this page, all time
## Errors
The whole hunk
from line 81, old and new numbered
/
from line 81
8181
8282 format: date-time
8383
84## Errors
85
86Any method can also return the general [HTTP errors](https://platform.claude.com/docs/en/api/errors?sdk_languages=http).
87
88Each code below is the value of `error.details.error_code` in the response body.
89
90- `claude_code_key_creator_not_member` (HTTP status 400)
91
92 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.
93
94- `cmek_key_disabled` (HTTP status 400)
95
96 The workspace's customer-managed encryption key is disabled or revoked. Re-enable the key, then retry.
97
98- `cmek_key_network_blocked` (HTTP status 400)
99
100 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.
101
102- `organization_on_hold` (HTTP status 400)
103
104 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.
105
84106## Example
85107
86108```bash
No line in this hunk matches that.