v2

latestOpenAPI 3.1.02026-08-06276982.8 KB
batches

Upload file to batch

Upload a file to a batch or update the contents of a previously uploaded file in a batch.

<Info>Files can be uploaded one at a time and the suggested max size for each file is 10 MB. For larger files, see Multipart file upload.</Info>

<Note>If you upload a password-protected PDF, provide the password when you process the PDF with an AI Hub app. See instructions for configuring the settings.runtime_config.instabase.pdf.passwords property for the Run deployment or Run app operations.</Note>

put/v2/batches/{batch_id}/files/{filename}

Path parameters

batch_idinteger required

The batch ID.

filenamestring required

A user-defined name for the file on the Instabase filesystem. Include the file extension. This doesn't need to be the same as its name on your local filesystem.

Headers

Authorizationstring required

Bearer HTTP authentication.

IB-Contextstring

Typically your organization ID. See Authorization and context identification for details.

Response

File uploaded successfully.

object required