Batch progress

Counters and status. Free, and safe to poll.

GEThttps://api.easydata.win/v1/batches/{id}
free

Where a batch stands. Free, and safe to poll at meta.recommendedPollMs - a number the server sets so the cadence can be tuned without every integration being rewritten.

total, succeeded, failed and pending count TARGETS and always sum to total. results_available counts delivered ENTRIES, which is a different number for a paged operation: one search target produces one entry per page.

Request #

FieldTypeNotes
idrequiredpathThe batch id.

Call it #

cURL
curl -X GET "https://api.easydata.win/v1/batches/{id}" \
  -H "X-API-Key: $API_KEY"

Response #

JSON
{
  "data": {
    "batch_id": "afec9131-080b-4b96-b3bb-726249e4bbf8",
    "operation": "profiles.enrich",
    "status": "processing",
    "total": 3,
    "succeeded": 2,
    "failed": 0,
    "pending": 1,
    "results_available": 2,
    "credits_used": 2,
    "created_at": "2026-09-01T10:00:00Z",
    "completed_at": null,
    "recommended_poll_ms": 2000
  },
  "meta": { "requestId": "req_8f2ka91x", "recommendedPollMs": 2000 }
}

Errors #

StatusTypeWhen
401invalid_api_keyMissing, malformed, revoked or expired key. Never metered.
404not_foundNo such batch, or it belongs to another organization.

Every failure uses the same envelope, and none of them is metered - see Errors.