Returns the batch's status, its counts of exports that succeeded and failed, its timings and each export's status and error. Returns 404 for an unknown batch. Super admin only.
GET
/admin/case/rerun-exports/{batchId}
curl \
--request GET 'http://api.example.com/admin/case/rerun-exports/{batchId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"id": "string",
"status": "queued",
"totalCount": 42.0,
"successCount": 42.0,
"failureCount": 42.0,
"items": [
{
"export": "string",
"status": "pending",
"startedAt": "2026-05-04T09:42:00Z",
"finishedAt": "2026-05-04T09:42:00Z",
"errorMessage": "string"
}
],
"startedAt": "2026-05-04T09:42:00Z",
"completedAt": "2026-05-04T09:42:00Z"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}