Skip to main content

GET /batches/{batchId}

GET

Get Batch Progress & Status

https://staging-api.heypeppy.ai/v1
/batches/{batchId}

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
ParameterTypeDescription
Authorizationrequiredstring
Bearer token format: Bearer <API_KEY> (hp_test_...) or X-API-Key header.
Example: Bearer hp_test_99281a8b
X-Tenant-IDoptionalstring
B2B Tenant identifier.
Example: stepup

Path Parameters

URI Path
ParameterTypeDescription
batchIdrequiredstring
The unique batch identifier returned when enqueuing the batch.
Example: batch_stepup_1726590000000_4a1b2c3d

Responses

3 status codes
200 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
Bearer
{batchId}