Get File Metadata
/v1/files/{file_id}?beta=true
Get File Metadata
Path Parameters
file_id: string
ID of the File.
Header Parameters
Returns
Get File Metadata
cURL
curl https://api.anthropic.com/v1/files/$FILE_ID?beta=true \
-H "X-Api-Key: $ANTHROPIC_API_KEY"{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"filename": "x",
"mime_type": "x",
"size_bytes": 0,
"type": "file",
"downloadable": true
}Returns Examples
{
"id": "id",
"created_at": "2019-12-27T18:11:19.117Z",
"filename": "x",
"mime_type": "x",
"size_bytes": 0,
"type": "file",
"downloadable": true
}