deprecated
/v0/files/batch
Upload several files that can be referenced in the Responses API.
Body
application/json
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/v0/files/batch
curl /v0/files/batch \
--request POST \
--header 'Content-Type: multipart/form-data' \
--form 'files=@filename'
[
{
"id": "string",
"object": "file",
"created_at": 0,
"updated_at": 0,
"filename": "string",
"bytes": 0,
"revision_id": "string",
"content_type": "string",
"status": "placeholder"
}
]