View as Markdown

Attest · Guide

Review claim media

Use Attest in a claims workflow to read every attested photo and video on a claim, explain the result to the policyholder, catch claims that share a device or location, and escalate the suspicious ones with an evidence PDF.

In the capture-to-verify path, this guide is the review step, after the photos are captured and verified.

In production the policyholder captures through the capture SDK, which signs each photo on the device and submits it to POST /v1/attest/attestations. The sandbox already holds seeded claims, so this guide starts from review.

Before you begin: export the full-access sandbox key.

export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe

1. Read a claim's provenance

GET /v1/attest/claims/{id}/provenance returns every asset on a claim with its verification result. CLM-SANDBOX-PARTIAL holds two web uploads that were never attested and one attested photo:

curl $PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-PARTIAL/provenance \
  -H "Authorization: Bearer $PROVENANCE_KEY"

The response, trimmed to each asset's verdict:

{
  "id": "CLM-SANDBOX-PARTIAL",
  "object": "claim",
  "assets": [
    {
      "id": "att_00000000000000000000000000000010",
      "object": "verification_result",
      "status": "failed",
      "risk_score": 100,
      "risk_factors": [
        { "factor": "cert_unknown_ca", "points": 40 },
        { "factor": "gps_absent", "points": 30 },
        { "factor": "device_not_enrolled", "points": 20 },
        { "factor": "biometric_absent", "points": 10 },
        { "factor": "exif_missing", "points": 5 }
      ]
    },
    {
      "id": "att_00000000000000000000000000000012",
      "object": "verification_result",
      "status": "verified",
      "risk_score": 15,
      "risk_factors": [{ "factor": "exif_timestamp_mismatch", "points": 15 }]
    }
  ],
  "overall_status": "failed",
  "overall_risk_score": 100
}

The claim's score is its highest asset's. Each factor is explained on risk scoring.

2. Explain the result

GET /v1/attest/claims/{id}/explanation renders the factors as fixed, reviewed text you can show the policyholder, with what would resolve each one. The same factors always give the same words, and each render is logged on the claim's case.

curl $PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/explanation \
  -H "Authorization: Bearer $PROVENANCE_KEY"

The response, trimmed to the first factor:

{
  "object": "claim_explanation",
  "claim_id": "CLM-SANDBOX-FRAUD",
  "template_version": "2026-07-05.1",
  "locale": "en",
  "overall_status": "failed",
  "summary": "This claim raised 5 provenance signals that need review. Each is explained below, with what would resolve it.",
  "factors": [
    {
      "code": "signature_invalid",
      "title": "Signature did not verify",
      "body": "The capture record's digital signature failed to verify, which means the file was altered after it was signed.",
      "resolution_hint": "Submit the original, unedited file exactly as captured."
    }
  ]
}

The policyholder can answer with an appeal; see cases and appeals.

3. Check for linked claims

Fraud rings reuse devices, certificates and locations across claims. On every attest, Provenance compares the new claim with your other claims and records links. GET /v1/attest/claims/{id}/links lists them:

curl $PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-RING-B/links \
  -H "Authorization: Bearer $PROVENANCE_KEY"
{
  "object": "list",
  "data": [
    {
      "id": "clk_01M5Q06YS3REJPC276SHV886MH",
      "object": "claim_link",
      "claim_id": "CLM-SANDBOX-RING-B",
      "other_claim_id": "CLM-SANDBOX-RING-A",
      "link_type": "shared_device",
      "strength": "strong",
      "evidence": { "device_id": "dev_000000000000000000000000000000f1" },
      "created_at": "2026-10-24T13:04:44.255Z"
    },
    {
      "id": "clk_01M5Q06YS41Z3VMTD5YDXZ7XP3",
      "object": "claim_link",
      "claim_id": "CLM-SANDBOX-RING-B",
      "other_claim_id": "CLM-SANDBOX-RING-A",
      "link_type": "gps_proximity",
      "strength": "weak",
      "evidence": { "distance_m": 0, "radius_m": 250 },
      "created_at": "2026-10-24T13:04:44.255Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
link_typeStrengthMeaning
shared_devicestrongThe same device captured two differently named claims.
shared_certstrongOne device certificate appears under a different device ID, the sign of a cloned key.
gps_proximityweakTwo claims captured within the configured radius and time window.

Links stay within your own claims. A link also adds the cross_claim_link risk factor to new verifications.

4. Escalate to investigation

POST /v1/attest/claims/{id}/escalate adds an escalation event to each asset's chain of custody and returns a one-page evidence PDF as base64:

curl $PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-PARTIAL/escalate \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "adjuster_id": "adj_1042", "notes": "Two web uploads with no capture record." }'

The response, with the PDF shortened:

{
  "id": "esc_01M5Q1B5H9AK6P6KZ44NCEJQ5Q",
  "object": "escalation",
  "claim_id": "CLM-SANDBOX-PARTIAL",
  "pdf_base64": "JVBERi0xLjcKJYGBgYEKCjcgMCBvYmoKPDwKL0Zp"
}

The PDF carries the claim details, the highest-risk asset's factors, the custody timeline and the device. Scores are advisory; the decision stays with the adjuster.

5. Optional: screen media that was never attested

An upload that never went through the capture SDK has no attestation. POST /v1/attest/media/screen asks a third-party detector whether it looks AI-generated. Its score is advisory and stays separate from risk_score; see synthetic-media screening.

curl $PROVENANCE_API/v1/attest/media/screen \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "image_base64": "/9j/4AAQSkZJRgABAQ" }'

The sandbox has no detector configured, so it answers with the error your code should handle:

{
  "error": {
    "type": "unavailable_error",
    "code": "detector_not_configured",
    "message": "Synthetic-media screening is not configured …",
    "doc_url": "https://provenanceauth.com/docs/errors#detector_not_configured",
    "request_id": "req_01M5Q1B5ZQNS9SJ06Y4ZMYHVTJ"
  }
}

Optional: measure the portfolio

Available on Enterprise

GET /v1/attest/analytics/summary turns your claims, factors, screenings and dispositions into one view for a window of up to 366 days (default 90). dollars_deterred is an estimate: the claim amounts of claims an adjuster denied or escalated for fraud, with the method stated in every response.

curl $PROVENANCE_API/v1/attest/analytics/summary \
  -H "Authorization: Bearer $PROVENANCE_KEY"

The response, trimmed:

{
  "object": "analytics_summary",
  "dollars_deterred": {
    "currency": "USD",
    "methodology": "Sum of claim_amount for claims dispositioned denied/escalated with reason suspected_fraud or signature_invalid. An ESTIMATE; claims without a recorded amount are excluded and reported as claims_missing_amount, never imputed."
  }
}

Pass claim_amount at attest to include a claim. GET /v1/attest/analytics/trends and GET /v1/attest/analytics/factors break the same data down by time and by factor.

Optional: audit past claims in a batch

Available on Enterprise

Submit past attestations as one job with POST /v1/attest/batches, then read a report with every verdict and the fraud clusters across the batch:

curl -s $PROVENANCE_API/v1/attest/batches \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "items": [
    { "type": "verify", "attestation_id": "att_00000000000000000000000000000001" },
    { "type": "verify", "attestation_id": "att_00000000000000000000000000000003" }
  ] }' | tee batch.json
{
  "id": "bat_01M5Q1D5QXBTPCE0W98GKVA9XT",
  "object": "batch",
  "status": "pending",
  "progress": { "total": 2, "processed": 0, "failed": 0 },
  "created_at": "2026-10-24T13:25:36.637Z",
  "updated_at": "2026-10-24T13:25:36.637Z",
  "expires_at": "2026-10-27T13:25:36.637Z"
}

When it completes, read the report:

export BATCH_ID=$(jq -r .id batch.json)
until [ "$(curl -s $PROVENANCE_API/v1/attest/batches/$BATCH_ID -H "Authorization: Bearer $PROVENANCE_KEY" | jq -r .status)" = "completed" ]; do sleep 1; done
curl $PROVENANCE_API/v1/attest/batches/$BATCH_ID/report -H "Authorization: Bearer $PROVENANCE_KEY"

The response, trimmed to the summary and clusters:

{
  "object": "batch_report",
  "status": "completed",
  "report": {
    "summary": { "total": 2, "processed": 2, "failed": 0, "by_status": { "verified": 1, "failed": 1 }, "fraud_clusters": 1 },
    "clusters": [
      {
        "attestation_ids": ["att_00000000000000000000000000000001", "att_00000000000000000000000000000003"],
        "link_types": ["shared_device"],
        "strength": "strong"
      }
    ]
  }
}

One failing item never fails the job, and the report carries a signed manifest you can verify offline.

Get notified instead of polling

Subscribe a webhook to the Attest events, listed on the webhooks page, and Provenance sends each change as it happens. To write the verdict into Guidewire or Duck Creek, see claim-system connectors.

Errors you might see

SymptomCauseFix
404 resource_missingThe claim belongs to another carrier, or doesn't existClaims are scoped to your carrier key.
503 detector_not_configuredScreening has no detector configuredTreat the upload as unscreened; the claim still has its risk score.
402 usage_limit_reached on screeningThe screening budget is used upRetry after it resets.
402 plan_requiredAnalytics and batches are EnterpriseSee plans and usage.

See also