Skip to content

Batch

Create Batch Job
client.Beta.Batch.New(ctx, params) (*BetaBatchNewResponse, error)
POST/api/v1/beta/batch-processing
List Batch Jobs
client.Beta.Batch.List(ctx, query) (*PaginatedBatchItems[BetaBatchListResponse], error)
GET/api/v1/beta/batch-processing
Get Batch Job Status
client.Beta.Batch.GetStatus(ctx, jobID, query) (*BetaBatchGetStatusResponse, error)
GET/api/v1/beta/batch-processing/{job_id}
Cancel Batch Job
client.Beta.Batch.Cancel(ctx, jobID, params) (*BetaBatchCancelResponse, error)
POST/api/v1/beta/batch-processing/{job_id}/cancel

BatchJob Items

List Batch Job Items
client.Beta.Batch.JobItems.List(ctx, jobID, query) (*PaginatedBatchItems[BetaBatchJobItemListResponse], error)
GET/api/v1/beta/batch-processing/{job_id}/items
Get Item Processing Results
client.Beta.Batch.JobItems.GetProcessingResults(ctx, itemID, query) (*BetaBatchJobItemGetProcessingResultsResponse, error)
GET/api/v1/beta/batch-processing/items/{item_id}/processing-results