Batches
Model
Batch Model
The batch represents a bulk operation on a specific resource with various phases and statuses.
object "batch"
The description of the model.
id string
Unique identifier for the batch.
organization_id string
Unique identifier for the organization that owns this batch.
resource string
Type of resource being processed in the batch.
mode sync|mixed|async
Mode of batch processing.
via api|file
Indicates if the batch was created via API or file upload.
action merge|overwrite|delete
Action to be performed on the resources in the batch.
status requested|queued|processing|completed|failed|timed_out|expired
Current status of the batch.
duplicate_handling ignore_all|use_first
Defaults to ignore_all
. If set to use_first
in the API when creating the batch, the first instance of a duplicate record will be processed whereas the rest will be ignored
reason string
Reason for the final status, if applicable.
phases object[]
Details of each phase in the batch process.
Show Details
stats object
Statistics related to the batch processing results.
Show Details
created_at integer
Time in epoch seconds when this batch was created.
updated_at integer
Time in epoch seconds when this batch was last updated.
updated_by string
ID of the user who last updated the batch.
checksum string
Checksum of the batch.
_upload_url string
URL for uploading a file/payload via a signed URL.
_upload_csv_url string
URL to download the original payload as a CSV file.
_upload_json_url string
URL to download the original payload as a JSON file.
_errors_csv_url string
URL to download errors as a CSV file.
_errors_json_url string
URL to download errors as a JSON file.