Skip to main content
POST
Upload batch file
Requires workspace preview access. See Video and batch jobs for setup, webhooks, and result handling.

Authorizations

Authorization
string
header
required

Bearer token authentication

Headers

x-phaseo-provider
string

Header alternative to the provider query parameter.

Query Parameters

model
string

Model id used to infer the upstream batch file provider. Model identifier. This is a runtime string so newly released models can be used without waiting for an SDK update.

Example:

"ai21/jamba-1.5-large"

provider
enum<string>

Advanced provider override for the upstream file upload.

Available options:
openai,
groq,
together,
mistral

Body

multipart/form-data
file
file
required
purpose
string
required

Response

Uploaded file metadata

id
string
object
string
bytes
integer
created_at
integer
filename
string
purpose
string
status
string
status_details
object
Last modified on September 6, 2026