Skip to main content
POST
Openai Files
When called with an API key, the key needs the batch scope (about scopes).

Authorizations

Authorization
string
header
required

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

Headers

xi-api-key
string | null
x-api-key
string | null

Body

multipart/form-data
purpose
string
required
file
file[]
required

Response

Successful Response