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](/api-sdk/api-reference/batches/create-multipart-upload-session).</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](/api-sdk/api-reference/runs/run-deployment#request.body.settings.runtime_config.instabase.pdf.passwords) or [Run app](/api-sdk/api-reference/runs/run-app#request.body.settings.runtime_config.instabase.pdf.passwords) operations.</Note>
Authentication
AuthorizationBearer
Bearer HTTP authentication.
Path parameters
batch_id
The batch ID.
filename
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
IB-Context
Typically your organization ID. See Authorization and context identification for details.
Request
This endpoint expects binary data of type application/octet-stream.
Errors
404
Not Found Error
