Upload File
/v1/files?beta=true
Upload File
Header Parameters
Returns
Upload File
cURL
curl https://api.anthropic.com/v1/files?beta=true \ -H 'Content-Type: multipart/form-data' \ -H "X-Api-Key: $ANTHROPIC_API_KEY" \ -F file=undefined{ "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 }