Deepfake detection is part of the Anti-Fraud Identity Firewall. Scan results flow into the same risk signal pipeline as other fraud signals, so you can query and review them from the Risk & Fraud > Signals console page or the list signals endpoint.
How it works
1
Submit a scan
Send a
POST request to /v1/risk/deepfake/scan with a subject reference and either raw indicator signals from your detection pipeline or pre-computed scores from an external model.2
Review the verdict
The response includes deepfake and impersonation scores (0–100) and a verdict:
authentic, suspect, deepfake, or impersonation.3
Automatic signal creation
When a score reaches 60 or above, the platform automatically ingests a risk signal into your tenant’s pipeline. The response includes the
signal_id so you can trace it.4
Retrieve results later
Use
GET /v1/risk/deepfake/results/{subject_ref} to fetch the latest scan result for any previously scanned subject.Prerequisites
- An active Truthlocks tenant with an API key
- Subject references for the content you want to scan (URLs, SHA-256 hashes, attestation IDs, or opaque identifiers)
Scanning a subject
Submit a scan with indicator signals from your detection pipeline:Detection model
The platform uses a heuristic signal engine (heuristic_v1) that maps caller-provided indicators to weighted scores. The engine evaluates 12 indicators across two categories:
Deepfake indicators
Impersonation indicators
Verdicts and thresholds
Each scan produces a verdict based on the highest score:
When either score reaches 60 or above, the platform automatically creates a risk signal. You don’t need to make a separate API call — the
signal_id is returned in the scan response.
Using pre-computed scores
If you already have scores from an external ML model or detection service, pass them directly to skip heuristic analysis:Linking scans to attestations
Associate a scan with an existing attestation to tie detection results to the credential they relate to:Retrieving scan results
Fetch the latest scan result for a subject without re-running the scan:Subject types
Thesubject_type field tells the platform what kind of content is being scanned:
Usage metering
Each deepfake scan request increments theantifraud.deepfake_scans usage counter for your billing cycle. You can monitor your scan consumption with the usage API or in the console at Settings > Billing > Usage under the Anti-Fraud section.
Deepfake scan quotas vary by plan tier. See the billing overview for details on all Anti-Fraud metered products.

