Run an AI Hub deployment by its deployment ID. The input for the run is specified using a batch ID or file path.
IB-Context header.Typically your organization ID. See Authorization and context identification for details.
Required unless using input_dir or manual_upstream_integration. The batch ID of a batch created with the Batches endpoint. All files uploaded to the batch are used as input for the run.
Required unless using batch_id or manual_upstream_integration. The path of the input folder in a connected drive or Instabase Drive. See Specifying file paths.
Use the deployment’s upstream integration as a source rather than a batch_id or input_dir. Requires an upstream integration to be configured for the deployment.
Required if manual_upstream_integration is true and the upstream integration is a mailbox integration. Specifies the earliest date in Unix time milliseconds from which to pull emails.
Required if manual_upstream_integration is true and the upstream integration is a mailbox integration. Specifies the latest date in Unix time milliseconds from which to pull emails.
Defines a specific location for the output to be saved in a connected drive or Instabase Drive. If defined, overrides the output workspace configured for the deployment. See Specifying file paths.
Status of the run. Possible values and meanings:
CANCELLED — A user cancelled the runCOMPLETE — The run successfully completed. A human review completed if it was required. Results are retrievable, but some fields may have failed and have the value ERROR.FAILED — The run failed to completePAUSED — This status is reserved for future useRUNNING — The run is in progress and is not pausedSTOPPED_AT_CHECKPOINT — A validation error has paused the run for human reviewWhen the run finished, in Unix time nanoseconds. null if run is still in progress.
The deployment ID.