Skip to main content
POST
Create a file

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required
purpose
string
required
Example:

"assistants"

Response

200 - application/json

Created file

The response is of type object.