Unlock an inventory file
Unlocks a password-protected or encrypted inventory file. An unlocked file can be downloaded.
POST/v1/inventory/unlockPOSTUnlock an inventory filecurl -X POST "https://api.darkradar.com/api/public/v1/inventory/unlock" \
-H "x-api-key: $DARKRADAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"eventId":"64b1f0c2a9e4d21f8c3b9a11","relationId":"64b1f0c2a9e4d21f8c3b9a12"}'Response
{
"success": true,
"message": "OK",
"data": {
"unlockRequestId": "507f1f77bcf86cd799439014",
"status": "processing",
"estimatedTime": "5-10 minutes"
},
"meta": {
"timestamp": "2024-02-01T10:30:45.123Z",
"requestId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"responseTime": 89
}
}Request body
| Fields | Values |
|---|---|
eventId · string · required | Leak event id |
relationId · string · required | Relation (machine) id in the event |
Responses
200File unlock requested successfully400Invalid request (malformed id, missing or invalid field)401Key missing, invalid, expired or revoked403Insufficient scope, no API access in plan, or product not enabled404Record not found or not owned by this key’s firm408The request exceeded its maximum response time429Rate limit exceeded; retry after a minuteResponse limits
Rate limit500 requests per 15 min · per IP