Attest · Overview
Attest
Attest lets you prove a photo or video was captured by a real device and hasn't been changed since.
When to use it
- Accept claim photos from policyholders and flag the ones that were edited, re-shot or never captured live.
- Prove an inspection photo or video was taken on site, on a known device, at the stated time.
- Hand an adjuster, investigator or court a chain of custody and an evidence bundle anyone can re-check.
How it works
- The capture SDK hashes the photo or video on the device and signs an attestation bundle with the device's key.
- You send the bundle to Provenance, which checks the signature, the device certificate and the media hash.
- You get a verification result with a status, a risk score from 0 to 100, and the factors that produced it.
- Your capturesigned attestation bundle
- Provenancesignature, device and hash checks
- Verification resultstatus, risk_score, risk_factors
Key objects
| Object | What it is | Where you get it |
|---|---|---|
| Attestation bundle | The signed record a device makes at capture: the media hash, time, GPS and device certificate | The capture SDK |
| Verification result | The outcome of checking one asset: status, risk_, risk_ and its chain of custody | POST / |
| Claim | The attested assets submitted for one case, with an overall status and score | GET / |
| Device | An enrolled capture device and its certificate | POST / |
| Capture session | A live video recording whose chunk hashes arrive as they are captured | POST / |
Core endpoints
| Endpoint | Use it to |
|---|---|
POST / | Submit a signed capture and get its first verification result. |
POST / | Verify an asset by attestation ID, image bytes, or video plus its manifest. |
GET / | Retrieve every asset of a claim with its verification result. |
GET / | Get fixed, plain-language text for a claim's signals. |
POST / | Escalate a claim for investigation and get an evidence PDF. |
POST / | Open a live video session that receives chunk hashes as they are recorded. |
Your first call
Verify a seeded photo that was edited after the device signed it. The sandbox key needs no signup.
export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl $PROVENANCE_API/v1/attest/verifications \
-H "Authorization: Bearer $PROVENANCE_KEY" \
-H "Content-Type: application/json" \
-d '{ "attestation_id": "att_00000000000000000000000000000003" }'
import { Provenance } from "@provenanceauth/sdk";
const prov = new Provenance({ apiKey: process.env.PROVENANCE_KEY!, baseUrl: process.env.PROVENANCE_API });
const result = await prov.attest.verifications.create({ attestationId: "att_00000000000000000000000000000003" });
console.log(result.status, result.riskScore);
import os
from provenanceauth import Provenance
prov = Provenance(os.environ["PROVENANCE_KEY"], base_url=os.environ["PROVENANCE_API"])
result = prov.attest.verifications.create(attestation_id="att_00000000000000000000000000000003")
print(result["status"], result["risk_score"])
{
"id": "att_00000000000000000000000000000003",
"object": "verification_result",
"claim_id": "CLM-SANDBOX-FRAUD",
"status": "failed",
"risk_score": 100,
"risk_factors": [
{ "factor": "signature_invalid", "points": 70, "description": "Signature fails ECDSA verification" },
{ "factor": "sensor_hash_mismatch", "points": 50, "description": "Image bytes hash does not match bundle sensor_hash" },
{ "factor": "gps_absent", "points": 30, "description": "GPS is null or lat/lng are both 0" },
{ "factor": "biometric_absent", "points": 10, "description": "biometric_present is false" },
{ "factor": "exif_missing", "points": 5, "description": "A fresh capture has no EXIF metadata (stripped)" }
],
"chain": [
{
"event_type": "capture",
"timestamp": "2026-10-24T00:48:12.459Z",
"actor": "device:dev_00000000000000000000000000000001",
"summary": "Captured image attestation"
},
{
"event_type": "escalation",
"timestamp": "2026-10-24T00:48:12.459Z",
"actor": "adjuster:seed",
"summary": "Pre-escalated to SIU (seeded fraud scenario)."
}
],
"device_info": {
"device_id": "dev_00000000000000000000000000000001",
"enrolled": true,
"cert_valid": true,
"cert_expires": "2028-10-23T00:48:12.000Z"
},
"capture_type": "image",
"liveness_checked": false,
"synthetic_media_score": null,
"synthetic_media_factors": null,
"verified_at": "2026-10-24T01:01:26.323Z",
"sensor_hash": "03cbcb52cf9c3fd0e9f54d96c03aeac08c36de58c0dbd147ffc1a9b1aea6d522"
}