Returns one extraction code's collection state: header (code, custodian, stage, status, requester and case), stage bar, per-source state, live backup/upload attempts, the last computer seen, up to 50 live inbox items and per-requested-source progress. Returns 404 when the code has no collection state. Super admin only; 404 while the collection-ops console is turned off.
GET
/admin/collection-ops/collections/{codeId}
curl \
--request GET 'http://api.example.com/admin/collection-ops/collections/{codeId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"header": {
"extractionCodeId": "65a1b2c3d4e5f6a7b8c9d0e1",
"code": "K7Q2ZP",
"custodianName": "Jane Doe",
"orgId": "string",
"caseId": "string",
"orgPriority": true,
"watched": true,
"stage": "created",
"status": "active",
"lifecycleMs": 42.0,
"completedAt": "2026-05-04T09:42:00Z",
"failedAttempts": 42.0,
"requestedBy": {
"userId": "string",
"name": "string",
"email": "paralegal@example.com"
},
"caseName": "Smith v. Jones"
},
"stageBar": [
{
"stage": "string",
"tracked": true,
"reached": true,
"at": "2026-05-04T09:42:00Z"
}
],
"sources": [
{
"key": "ios:00008110-001A2B3C4D5E6F70",
"dataSource": "ios",
"stage": "created",
"stageOrder": 42.0,
"status": "active",
"lastAt": "2026-05-04T09:42:00Z",
"lastErrorCode": "string"
}
],
"live": [
{
"attemptId": "string",
"activity": "backup",
"dataSource": "string",
"deviceId": "string",
"systemId": "string",
"percent": 42.0,
"bytesDone": 42.0,
"bytesTotal": 42.0,
"rateBps": 42.0,
"etaSec": 42.0,
"phase": "string",
"freeDiskBytes": 42.0,
"slowSince": "2026-05-04T09:42:00Z",
"startedAt": "2026-05-04T09:42:00Z",
"lastHeartbeatAt": "2026-05-04T09:42:00Z"
}
],
"computer": {
"systemId": "string",
"appVersion": "3.14.0",
"os": "string",
"model": "string",
"totalMemBytes": 42.0,
"freeDiskBytes": 42.0,
"at": "2026-05-04T09:42:00Z"
},
"openItems": [
{
"id": "65a1b2c3d4e5f6a7b8c9d0e1",
"reason": "backup_failed",
"errorCode": "DEVICE_UNPLUGGED",
"summary": "Backup failed: device unplugged",
"status": "open",
"triggerCount": 2,
"lastTriggeredAt": "2026-05-04T09:42:00Z",
"recoveredAt": "2026-05-04T09:42:00Z",
"snoozedUntil": "2026-05-04T09:42:00Z",
"clearedAt": "2026-05-04T09:42:00Z",
"clearedBy": "string"
}
],
"requestedSources": [
{
"dataSource": "gmail",
"sourceType": "string",
"status": "pending",
"rows": 42.0,
"completedRows": 42.0
}
],
"sourcesProgress": {
"requested": 3,
"completed": 1
}
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}