Create batch
Create a new batch.
Upload files to the batch in a separate request.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
IB-Context
Specify whether to use your community account or organization account to complete the request. To use your community account, define as your user ID. To use your organization account, define as your organization ID. If unspecified, defaults to community account context. See Authorization and context identification for details.
Request
This endpoint expects an object.
name
Name of the batch. Maximum length is 255 characters.
workspace
The name of the workspace in which to add the batch. If not specified, the default location is your personal workspace.
When making this call from a service account, you must specify a workspace.
For organization members, if the default drive changes but is still connected, you can still use the batch as input for running an app. However, you can’t upload any additional files to the batch. If the default drive is disconnected, you can’t use batches stored on that drive as input for any app run.
Response
Batch created successfully.
id
Unique identifier for the batch.