GET /batches/{batchId}
GET
Get Batch Progress & Status
Retrieves real-time processing statistics for a bulk batch job enqueued by `POST /batches`. Aggregates completed, failed, processing, and queued task counts across all documents in the batch.
Headers
HTTP Headers| Parameter | Type | Description |
|---|---|---|
Authorizationrequired | string | Bearer token format: Bearer <API_KEY> (hp_test_...) or X-API-Key header. Example: Bearer hp_test_99281a8b |
X-Tenant-IDoptional | string | B2B Tenant identifier. Example: stepup |
Path Parameters
URI Path| Parameter | Type | Description |
|---|---|---|
batchIdrequired | string | The unique batch identifier returned when enqueuing the batch. Example: batch_stepup_1726590000000_4a1b2c3d |
Responses
3 status codes200 OKBatch progress retrieved successfully.
{
"batchId": "batch_stepup_1726590000000_4a1b2c3d",
"tenantId": "stepup",
"status": "processing",
"totalItems": 100,
"progress": {
"completed": 85,
"failed": 0,
"processing": 10,
"queued": 5,
"percentComplete": 85
},
"createdAt": "2026-09-17T13:00:00.000Z"
}Interactive Test Console
https://staging-api.heypeppy.ai/v1Sandbox / Staging
{batchId}