Documentation Index
Fetch the complete documentation index at: https://docs.truthlocks.com/llms.txt
Use this file to discover all available pages before exploring further.
How detection works
Scans use a heuristic signal engine (heuristic_v1) that accepts caller-provided signals (from external ML models, rule engines, or manual review) and maps them to weighted scores:
- Deepfake indicators: face swap, inconsistent lighting, compression artifacts, temporal inconsistency, metadata mismatch
- Impersonation indicators: biometric mismatch, name mismatch, identity doc mismatch, issuer trust violation
deepfake or impersonation. Scores ≥ 40 set suspect. Scores ≥ 60 automatically ingest a risk signal.
You can also bypass heuristic analysis by passing pre-computed deepfake_score and impersonation_score values directly. The platform still applies the same verdict thresholds and automatic signal ingestion.
See the deepfake detection guide for the full workflow, indicator reference, and additional examples.
Request
Reference to the subject being scanned — URL, SHA-256 hash, attestation ID, or any opaque identifier.
Type of subject:
image, video, document, attestation, identityArray of indicator strings from your external model or rules engine (e.g.
["face_swap_detected", "metadata_mismatch"]). When provided without pre-computed scores, the heuristic engine maps these to weighted deepfake and impersonation scores.UUID of an attestation to associate with this scan result. Use this to tie detection results to the credential they relate to.
Pre-computed deepfake score (0–100) from an external model. If provided along with
impersonation_score, heuristic analysis is skipped.Pre-computed impersonation score (0–100) from an external model.
Response
UUID of the scan result.
The subject reference that was scanned.
Type of subject:
image, video, document, attestation, identityDeepfake probability score (0–100).
Impersonation probability score (0–100).
authentic | suspect | deepfake | impersonationList of triggered indicators from the scan.
Detection model used (e.g.
heuristic_v1).UUID of the auto-ingested risk signal (only present when score ≥ 60).
UUID of the linked attestation, if one was provided during the scan.
ISO 8601 timestamp of when the scan was performed.

