API reference / Scans
Get a scan
GET /v1/scans/{scan_id}
Test this endpoint
Returns the scan with its current status, progress from 0 to 100 and, once COMPLETED, the result. A scan from another workspace returns 404.
Response
status string
PENDINGPROCESSINGCOMPLETEDFAILED The last two are final.
progress, progress_status integer, string
How far the analysis has got, and what it is doing now. Good for a progress bar, not for timing.
media_status string
Whether Red has prepared the playable copy of the recording. pendingprocessingreadyfailedskipped
billable_minutes integer
Minutes charged for this scan, set when it finishes.
result object or null
The verdict and findings, in the contract you asked for. Reading a result.
error string or null
Why the scan failed, as code: message. A balance failure caught before the scan starts carries the plain 402 message. Only set when status is FAILED.
livemode boolean
false for a sandbox scan, whose result is canned rather than an analysis of the media.