Skip to main content
Version: 1.12.0

Upload a file

POST 

/v1/files

Upload a file for use with the Batch API. OpenAI-compatible: send multipart/form-data with a purpose of batch and a JSONL file whose lines are batch request objects. DVARA applies the workspace's configured PII action to the complete upload as one text blob before choosing a batch-capable provider. It does not run each JSONL line through the live model-call pipeline. On the Enterprise platform, it also reads the model each line names and refuses the upload if the workspace may not use one of them. The default upload limit is 100 MB and can be changed with DVARA_BATCH_MAX_FILE_SIZE. OpenAI and Azure OpenAI declare production batch support; the Mock provider supports the flow for local development and tests.

Request​

Responses​

Uploaded file