Gateway

Upload batch file (alias)

Alias of /batches/files.

post/batch/files

Request

  • Base URL: https://api.phaseo.app/v1
  • URL: https://api.phaseo.app/v1/batch/files
  • Auth: HTTP bearer

Query parameters

modelstring

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

Model id used to infer the upstream batch file provider.

providerstring

Advanced provider override for the upstream file upload.

Headers

x-ai-stats-providerstring

Header alternative to the provider query parameter.

Response

Uploaded file metadata

idstring
objectstring
bytesinteger
created_atinteger
filenamestring
purposestring
statusstring
status_detailsobject

Changes

No recorded changes to this operation across all 1 revision of this API.