FraudWorks

API reference

The result format. The public API is not open yet.

Status

Note. The public API is not open yet. This page documents the result format it will return, which is the same JSON the demo shows in its JSON tab.

Planned endpoints

MethodPathPurpose
POST/v1/documents/checksCreate a check
GET/v1/documents/checks/{id}Get a result
GET/v1/documents/checksList checks
DELETE/v1/documents/checks/{id}/fileDelete the stored file
POST/v1/documents/checks/{id}/feedbackMark as fraud or genuine
GET/v1/signalsSignal catalog

Requests will authenticate with Authorization: Bearer fw_live_... keys. Test keys (fw_test_...) will return canned results without using credits.

The check object

FieldTypeDescription
idstringPrefixed ID, for example chk_01JC8Z6W3T9Q
statusstringqueued, processing, completed, or failed
tierstringstandard or deep
verdictstringai_generated, likely_tampered, needs_review, or no_issues_found
risk_scoreinteger0 to 100
summarystringOne or two sentences
signalsarraySignals that fired, strongest first
extractedobjectFields read from the document
documentobjectFile name, type, SHA-256, pages, declared and detected type, metadata
engine_version, ruleset_versionstringWhat produced the result
checks_run, checks_failedarrayLayers that ran, and checks that could not

The signal object

FieldTypeDescription
idstringSignal ID, see the signals reference
layerstringprovenance, structure, pixel, content, or history
severitystringinfo, low, medium, high, or critical
weightnumber-100 to 100; negative lowers the score
confidencenumber0 to 1
title, descriptionstringPlain-English explanation
evidenceobjectStructured details, such as the expected and printed totals
page, bboxinteger, arrayWhere on the page: [x0, y0, x1, y1] in analysis pixels (PDF pages are rendered at 200 DPI)