cURL
curl --request GET \ --url https://script.so/api/v1/batches/{batchId} \ --header 'Authorization: Bearer <token>'
{ "batch_id": "batch_xyz789", "workflow_id": "wf_xyz789", "status": "pending", "total": 3, "completed": 3, "failed": 0, "executions": [ { "execution_id": "<string>", "inputs": {}, "status": "<string>", "duration_ms": 123 } ], "started_at": "2023-11-07T05:31:56Z", "completed_at": "2023-11-07T05:31:56Z" }
Check status of a batch run
API key authentication. Get your key from Settings → API Keys.
Use sk_live_ prefix for production, sk_test_ for development.
sk_live_
sk_test_
Batch ID
"batch_xyz789"
Batch status
"wf_xyz789"
pending
running
completed
failed
3
0
Show child attributes