Upload File
/v1/files
Upload File
Header Parameters
Returns
Upload File
curl https://api.anthropic.com/v1/files \ -H 'Content-Type: multipart/form-data' \ -H "X-Api-Key: $ANTHROPIC_API_KEY" \ -F file=undefinedResponse 200
{ "id": "id", "created_at": "2019-12-27T18:11:19.117Z", "filename": "x", "mime_type": "x", "size_bytes": 0, "type": "file", "downloadable": true }Returns Examples
Response 200
{ "id": "id", "created_at": "2019-12-27T18:11:19.117Z", "filename": "x", "mime_type": "x", "size_bytes": 0, "type": "file", "downloadable": true }