Upload files to be used with Assistants
multipart/form-data
requests with a single file upload.
Parameter | Type | Required | Description |
---|---|---|---|
file | File | Yes | The file you want to upload |
attachmentIds
array either at the assistant level or message level.API key as Bearer token. Format "Bearer YOUR_API_KEY"
Successfully uploaded file
The response is of type object
.