Skip to main content
GET
Get a detection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

detection_id
string
required

Response

The detection record, with the verdict if it exists.

The durable record plus, once completed, the workflow result.

id
string
required
status
enum<string>
required

QUEUED, RUNNING, COMPLETED, or FAILED.

Available options:
QUEUED,
RUNNING,
COMPLETED,
FAILED
score
integer | null
required

The fraud score, normally 0 to 100. A higher score means a higher likelihood of fraud, but does not guarantee fraud. Humans should always review high-risk cases. Null while the detection runs, and null when one check determined the document verification result alone.

billable
boolean
required
created_at
string<date-time>
required
completed_at
string<date-time> | null
required
submitted_by
string | null
required
batch_id
string | null
required

The batch that holds this detection, if one exists.

filename
string | null
required
content_type
string | null
required
size_bytes
integer | null
required
s3_key
string | null
required

Where the API keeps the document.

failure_message
string | null
required

A sentence that explains failure_code.

failure_code
string | null

The reason for a FAILED status. Null in all other states.

discovered
string[] | null

Facts that the pipeline found in the document, such as qr_present.

authoritative
AuthoritativeResult · object | null

Set if one check determined the document verification result alone. The agent does not run in that case, so verdict and score are both null.

verdict
VerdictResult · object | null

The result of the analysis. Null while the detection runs, and null again after the workflow history expires.

agent_error
string | null

Why the analysis agent failed.

agent_run_id
string | null

The agent run, for support requests.