Get File Metadata
Changed onRequest
- Base URLhttps://api.anthropic.com
- Authnone declared
Path parameters
ID of the File.
Headers
The version of the Claude API you want to use.
Read more about versioning and our version history here.
Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).
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.
Response
Successful Response
Example response
{
"created_at": "2025-04-15T18:37:24.100435Z",
"expires_at": "2025-05-15T18:37:24.100435Z",
"filename": "document.pdf",
"id": "file_011CNha8iCJcU1wXNR6q4V8w",
"mime_type": "application/pdf",
"size_bytes": 102400
}Changes
- warning
deleted the
headerrequest parameterx-api-key
- warning
- breaking
the
response's property type changed from no type toobjectfor status - info
added the optional property
/to the response with the status - info
removed discriminator from
response property for the response status - info
removed from the
response propertyoneOflist for the response status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking