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 /. 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 / 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"
import { Provenance } from "@provenanceauth/sdk";
const prov = new Provenance({ apiKey: process.env.PROVENANCE_KEY!, baseUrl: process.env.PROVENANCE_API });
const claim = await prov.attest.claims.getProvenance("CLM-SANDBOX-PARTIAL");
import os
from provenanceauth import Provenance
prov = Provenance(os.environ["PROVENANCE_KEY"], base_url=os.environ["PROVENANCE_API"])
claim = prov.attest.claims.get_provenance("CLM-SANDBOX-PARTIAL")
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 / 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"
const explanation = await prov.attest.claims.explanation("CLM-SANDBOX-FRAUD");
explanation = prov.attest.claims.explanation("CLM-SANDBOX-FRAUD")
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 / lists them:
curl $PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-RING-B/links \
-H "Authorization: Bearer $PROVENANCE_KEY"
const links = await prov.attest.claims.links("CLM-SANDBOX-RING-B");
links = prov.attest.claims.links("CLM-SANDBOX-RING-B")
{
"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_type | Strength | Meaning |
|---|---|---|
shared_ | strong | The same device captured two differently named claims. |
shared_ | strong | One device certificate appears under a different device ID, the sign of a cloned key. |
gps_ | weak | Two 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 / adds an escalation event to each asset's chain of custody and returns a one-page evidence PDF as base64:
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 / 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" }'
const screening = await prov.attest.media.screen({ imageBase64: "/9j/4AAQSkZJRgABAQ" });
screening = prov.attest.media.screen(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
GET / 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"
const summary = await prov.attest.analytics.summary();
summary = prov.attest.analytics.summary()
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 / and GET / break the same data down by time and by factor.
Optional: audit past claims in a batch
Submit past attestations as one job with POST /, 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
const headers = { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" };
const batch = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/batches`, {
method: "POST",
headers,
body: JSON.stringify({ items: [
{ type: "verify", attestation_id: "att_00000000000000000000000000000001" },
{ type: "verify", attestation_id: "att_00000000000000000000000000000003" },
] }),
})).json();
import httpx
headers = {"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}
batch = httpx.post(f"{os.environ['PROVENANCE_API']}/v1/attest/batches", headers=headers, json={"items": [
{"type": "verify", "attestation_id": "att_00000000000000000000000000000001"},
{"type": "verify", "attestation_id": "att_00000000000000000000000000000003"},
]}).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"
const report = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/batches/${batch.id}/report`, { headers })).json();
report = httpx.get(f"{os.environ['PROVENANCE_API']}/v1/attest/batches/{batch['id']}/report", headers=headers).json()
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
| Symptom | Cause | Fix |
|---|---|---|
404 resource_ | The claim belongs to another carrier, or doesn't exist | Claims are scoped to your carrier key. |
503 detector_ | Screening has no detector configured | Treat the upload as unscreened; the claim still has its risk score. |
402 usage_ on screening | The screening budget is used up | Retry after it resets. |
402 plan_ | Analytics and batches are Enterprise | See plans and usage. |