curl --request GET \
--url https://api.example.com/api/v1/batch-jobs/{batch_job_id} \
--header 'Authorization: Bearer <token>'{
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"failed_items": 123,
"failure_count": 123,
"has_error_csv": true,
"id": "<string>",
"job_type": "EVENT_CSV_IMPORT",
"processed_items": 123,
"status": "PENDING",
"completed_at": "2023-11-07T05:31:56Z",
"error_csv_url": "<string>",
"input_file_name": "<string>",
"input_file_url": "<string>",
"total_items": 123
}Retrieve a single batch job with its chunks and failures.
curl --request GET \
--url https://api.example.com/api/v1/batch-jobs/{batch_job_id} \
--header 'Authorization: Bearer <token>'{
"created_at": "2023-11-07T05:31:56Z",
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"failed_items": 123,
"failure_count": 123,
"has_error_csv": true,
"id": "<string>",
"job_type": "EVENT_CSV_IMPORT",
"processed_items": 123,
"status": "PENDING",
"completed_at": "2023-11-07T05:31:56Z",
"error_csv_url": "<string>",
"input_file_name": "<string>",
"input_file_url": "<string>",
"total_items": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Batch job ID
Batch job detail
"bjob_7n42DGM5Tflk9n8mt7Fhc7"
EVENT_CSV_IMPORT, CUSTOMER_CSV_IMPORT, SUBSCRIPTION_CSV_IMPORT, SUBSCRIPTION_PLAN_MIGRATION PENDING, CHUNKING, PROCESSING, COMPLETED, COMPLETED_WITH_ERRORS, FAILED, CANCELLED