View as Markdown

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

  1. The capture SDK hashes the photo or video on the device and signs an attestation bundle with the device's key.
  2. You send the bundle to Provenance, which checks the signature, the device certificate and the media hash.
  3. You get a verification result with a status, a risk score from 0 to 100, and the factors that produced it.
  1. Your capture
    signed attestation bundle
  2. Provenance
    signature, device and hash checks
  3. Verification result
    status, risk_score, risk_factors

Key objects

ObjectWhat it isWhere you get it
Attestation bundleThe signed record a device makes at capture: the media hash, time, GPS and device certificateThe capture SDK
Verification resultThe outcome of checking one asset: status, risk_score, risk_factors and its chain of custodyPOST /v1/attest/verifications
ClaimThe attested assets submitted for one case, with an overall status and scoreGET /v1/attest/claims/{id}/provenance
DeviceAn enrolled capture device and its certificatePOST /v1/attest/devices
Capture sessionA live video recording whose chunk hashes arrive as they are capturedPOST /v1/attest/capture_sessions

Core endpoints

EndpointUse it to
POST /v1/attest/attestationsSubmit a signed capture and get its first verification result.
POST /v1/attest/verificationsVerify an asset by attestation ID, image bytes, or video plus its manifest.
GET /v1/attest/claims/{id}/provenanceRetrieve every asset of a claim with its verification result.
GET /v1/attest/claims/{id}/explanationGet fixed, plain-language text for a claim's signals.
POST /v1/attest/claims/{id}/escalateEscalate a claim for investigation and get an evidence PDF.
POST /v1/attest/capture_sessionsOpen 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" }'
{
  "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"
}

Next steps