# Claims

Attesting captured photos and video, verifying them, and reading a claim's provenance.

Related guide: [Review claim media](https://provenanceauth.com/docs/attest/guides/review-claims.md)

## Endpoints

- `GET /v1/attest/claims/{id}/links`: [Get linked claims](#get-v1-attest-claims-id-links)
- `GET /v1/attest/claims/{id}`: [Retrieve a claim](#get-v1-attest-claims-id)
- `GET /v1/attest/claims/{id}/provenance`: [Get a claim's provenance](#get-v1-attest-claims-id-provenance)
- `GET /v1/attest/claims`: [List claims](#get-v1-attest-claims)
- `GET /v1/attest/claims/{id}/explanation`: [Explain a claim](#get-v1-attest-claims-id-explanation)
- `POST /v1/attest/attestations`: [Attest a capture](#post-v1-attest-attestations)
- `POST /v1/attest/verifications`: [Verify an attestation](#post-v1-attest-verifications)
- `POST /v1/attest/claims/{id}/escalate`: [Escalate a claim](#post-v1-attest-claims-id-escalate)

## The claim object

### Attributes

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `claim_id` | string | no | The claim, or case in another vertical, the asset belongs to. |
| `overall_status` | enum | no | The overall status: `failed` when any asset carries `signature_invalid`, `device_revoked` or `device_cert_mismatch`, otherwise the highest asset risk score against the default cutoffs. One of `verified`, `partial`, `failed`. |
| `overall_risk_score` | integer | no | The highest risk score of the claim's assets. |
| `assets` | array of objects | no | Each asset's verification result. |
| `assets.attestation_id` | string | no | The attestation's ID. |
| `assets.claim_id` | string \| null | yes | The claim, or case in another vertical, the asset belongs to. |
| `assets.status` | enum | yes | The asset's verdict. `risk_score` maps to it (0-30 `verified`, 31-80 `partial`, 81-100 `failed`, or a carrier risk policy's cutoffs), except that `signature_invalid`, `device_revoked` and `device_cert_mismatch` each make it `failed` whatever the score. One of `verified`, `partial`, `failed`. |
| `assets.risk_score` | integer | yes | The risk score, from 0 to 100; higher is riskier. |
| `assets.risk_factors` | array of objects | yes | The risk factors that apply, with their points. |
| `assets.risk_factors.factor` | string | no | The risk factor's code. |
| `assets.risk_factors.points` | integer | no | Risk points this factor adds. |
| `assets.risk_factors.description` | string | no | A longer description. |
| `assets.chain` | array of objects | yes | The chain of custody, oldest first. |
| `assets.device_info` | object | yes | The capture device, its enrollment and its certificate. |
| `assets.capture_type` | enum | yes | `image` or `video`. One of `image`, `video`. |
| `assets.liveness_checked` | boolean | yes | Whether live-session timing checks ran. |
| `assets.synthetic_media_score` | integer \| null | yes | The detector's score, from 0 to 100; separate from risk_score. |
| `assets.synthetic_media_factors` | array of objects \| null | yes | The detector's findings. |
| `assets.verified_at` | timestamp | yes | When it was verified. |
| `assets.sensor_hash` | string \| null | no | The signed bundle's sensor_hash — image: SHA-256 hex of the raw bytes; video: the chunk-chain root. Lets a client prove a file it holds is this asset (e.g. before screening the original). Null when no signed bundle exists (no_manifest). |
| `assets.video_manifest` | object | no | Read-only echo of the signed video manifest (video assets only). |
| `assets.id` | string | no | Unique identifier for the object. |
| `assets.object` | enum | no | The type of object. One of `verification_result`. |
| `id` | string | no | Unique identifier for the object. |
| `object` | enum | no | The type of object. One of `claim`. |
| `asset_count` | integer | no | How many assets the claim has. |
| `submitted_at` | string | no | When it was submitted. |
| `capture_tier` | enum | no | The weakest capture tier among the claim's assets: the server-assigned tier of the device that signed each one, or `software` for a shot taken on a capture page. `null` when no asset names a known device. One of `simulated`, `software`, `tee`, `strongbox`, `sep`. |
| `screening_score` | integer \| null | no | The highest synthetic-media screening score (0 to 100) among the claim's assets, or `null` when none was screened. Advisory: it is never part of `overall_risk_score`. |
| `capture_request_id` | string \| null | no | The capture request the claim's shots were taken through, or `null`. |
| `session_type` | enum | no | The guided session type of that capture request (`id`: an ID photo and a selfie; `claim`: claim photos and videos), or `null` for a request with its own items or no request. One of `id`, `claim`. |

### Example

```json
{
  "id": "CLM-SANDBOX-CLEAN",
  "object": "claim",
  "asset_count": 2,
  "overall_status": "verified",
  "overall_risk_score": 0,
  "submitted_at": "2026-11-09T10:45:48.479Z",
  "capture_tier": "simulated",
  "screening_score": null,
  "capture_request_id": null,
  "session_type": null
}
```

## Events

Sent to your [webhook endpoints](https://provenanceauth.com/docs/integrate/webhooks.md) when they subscribe:

- `attest.attestation.created`
- `attest.claim.provenance_updated`
- `attest.claim.escalated`

## Get linked claims

`GET /v1/attest/claims/{id}/links`

Returns your other claims that share signals with this one: the same device, the same certificate, or captures close together in place and time.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The claim, or case in another vertical, the asset belongs to. |

### Returns

The claim's links to other claims, strongest first.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-RING-B/links" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-RING-B/links`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims/CLM-SANDBOX-RING-B/links", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
```

### Response 200

```json
{
  "object": "list",
  "data": [
    {
      "id": "clk_01M6VQBC73CDEEHP2YSWQTZSMK",
      "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-11-07T19:21:45.943Z"
    },
    {
      "id": "clk_01M6VQBC73ZRQX2QJYX4JMJT5P",
      "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-11-07T19:21:45.943Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

## Retrieve a claim

`GET /v1/attest/claims/{id}`

Returns one claim, or case in another vertical, with its overall status and risk score and how many of your attestations it holds. Only your key's carrier's attestations count; a claim with none of them is `404`.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The claim, or case in another vertical, your attestations name in `claim_id`. |

### Returns

The claim, as the list shows it. See [the claim object](#object).

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-CLEAN" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-CLEAN`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims/CLM-SANDBOX-CLEAN", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
```

### Response 200

```json
{
  "id": "CLM-SANDBOX-CLEAN",
  "object": "claim",
  "asset_count": 2,
  "overall_status": "verified",
  "overall_risk_score": 0,
  "submitted_at": "2026-11-20T06:59:23.970Z",
  "capture_tier": "simulated",
  "screening_score": null,
  "capture_request_id": null,
  "session_type": null
}
```

## Get a claim's provenance

`GET /v1/attest/claims/{id}/provenance`

Returns every asset on a claim with its verification result, and the claim's overall status and risk score, the highest of its assets.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The claim, or case in another vertical, the asset belongs to. |

### Returns

The claim's status, risk and each asset's result. See [the claim object](#object).

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-CLEAN/provenance" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-CLEAN/provenance`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims/CLM-SANDBOX-CLEAN/provenance", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
```

### Response 200

```json
{
  "id": "CLM-SANDBOX-CLEAN",
  "object": "claim",
  "assets": [
    {
      "id": "att_00000000000000000000000000000001",
      "object": "verification_result",
      "claim_id": "CLM-SANDBOX-CLEAN",
      "status": "verified",
      "risk_score": 0,
      "risk_factors": [],
      "chain": [
        {
          "event_type": "capture",
          "timestamp": "2026-11-09T10:45:48.477Z",
          "actor": "device:dev_00000000000000000000000000000001",
          "summary": "Captured image attestation"
        }
      ],
      "device_info": {
        "device_id": "dev_00000000000000000000000000000001",
        "enrolled": true,
        "cert_valid": true,
        "cert_expires": "2028-11-08T10:45:48.000Z"
      },
      "capture_type": "image",
      "liveness_checked": false,
      "synthetic_media_score": null,
      "synthetic_media_factors": null,
      "verified_at": "2026-11-09T10:45:49.638Z",
      "sensor_hash": "7f9bf90571a7a8cebbb8110eed7b78504cc53600b08272bcd1f9d46fa4fb205d"
    },
    {
      "id": "att_00000000000000000000000000000002",
      "object": "verification_result",
      "claim_id": "CLM-SANDBOX-CLEAN",
      "status": "verified",
      "risk_score": 0,
      "risk_factors": [],
      "chain": [
        {
          "event_type": "capture",
          "timestamp": "2026-11-09T10:45:48.477Z",
          "actor": "device:dev_00000000000000000000000000000001",
          "summary": "Captured image attestation"
        }
      ],
      "device_info": {
        "device_id": "dev_00000000000000000000000000000001",
        "enrolled": true,
        "cert_valid": true,
        "cert_expires": "2028-11-08T10:45:48.000Z"
      },
      "capture_type": "image",
      "liveness_checked": false,
      "synthetic_media_score": null,
      "synthetic_media_factors": null,
      "verified_at": "2026-11-09T10:45:49.638Z",
      "sensor_hash": "7f9bf90571a7a8cebbb8110eed7b78504cc53600b08272bcd1f9d46fa4fb205d"
    }
  ],
  "overall_status": "verified",
  "overall_risk_score": 0,
  "capture_tier": "simulated",
  "screening_score": null,
  "capture_request_id": null,
  "session_type": null
}
```

## List claims

`GET /v1/attest/claims`

Lists the claims, or cases in another vertical, that your key's attestations belong to, with each one's overall status and risk score. Only your key's carrier's attestations count.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | no | Search text. Matches when the claim's ID contains it, ignoring case. At most 200 characters. |

### Returns

The claims.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/attest/claims?limit=2" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims?limit=2`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims?limit=2", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
```

### Response 200

```json
{
  "object": "list",
  "data": [
    {
      "id": "CLM-SANDBOX-CLEAN",
      "object": "claim",
      "asset_count": 2,
      "overall_status": "verified",
      "overall_risk_score": 0,
      "submitted_at": "2026-11-09T10:45:48.479Z",
      "capture_tier": "simulated",
      "screening_score": null,
      "capture_request_id": null,
      "session_type": null
    },
    {
      "id": "CLM-SANDBOX-FRAUD",
      "object": "claim",
      "asset_count": 2,
      "overall_status": "failed",
      "overall_risk_score": 100,
      "submitted_at": "2026-11-09T10:45:48.480Z",
      "capture_tier": "simulated",
      "screening_score": null,
      "capture_request_id": null,
      "session_type": null
    }
  ],
  "has_more": true,
  "next_cursor": "eyJpZCI6IkNMTS1TQU5EQk9YLUZSQVVEIiwiZGlyZWN0aW9uIjoibmV4dCJ9"
}
```

## Explain a claim

`GET /v1/attest/claims/{id}/explanation`

Returns a fixed, plain-language explanation of a claim's signals, with what would resolve each one and the case's disposition, in the claim's vertical's wording.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The claim, or case in another vertical, the asset belongs to. |

### Returns

The explanation, with its template version.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/explanation" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/explanation`, {
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/explanation", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
```

### Response 200

```json
{
  "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."
    },
    {
      "code": "sensor_hash_mismatch",
      "title": "Image doesn't match its record",
      "body": "The image bytes don't match the fingerprint in its signed record — the picture was changed after capture.",
      "resolution_hint": "Submit the original photo without cropping, filtering, or re-saving it."
    },
    {
      "code": "gps_absent",
      "title": "No location data",
      "body": "The capture carries no GPS location, so we can't corroborate where it was taken.",
      "resolution_hint": "Enable location on the capture device and re-take the media."
    },
    {
      "code": "biometric_absent",
      "title": "No biometric confirmation",
      "body": "No biometric (face or fingerprint) was present at capture to tie a person to the moment.",
      "resolution_hint": "Re-capture with biometric confirmation enabled."
    },
    {
      "code": "exif_missing",
      "title": "Stripped photo metadata",
      "body": "A supposedly fresh photo has no EXIF metadata, which is often removed by re-saving or screenshotting.",
      "resolution_hint": "Advisory only — submit the original file straight from the camera."
    }
  ],
  "disposition": {
    "status": "escalated",
    "reason_code": "suspected_fraud",
    "title": "Suspected fraud",
    "body": "The claim was escalated to the special investigations unit based on the provenance signals.",
    "resolution_hint": "You may appeal with a statement and additional attested evidence."
  }
}
```

## Attest a capture

`POST /v1/attest/attestations`

Records a photo or video's signed attestation bundle and scores it. The bundle comes from the capture SDK; case_type sets the vertical. Resending the same attestation_id and body returns the first result. A key attests only for its own carrier; a bundle whose carrier_id names another carrier is a 400 (param bundle.carrier_id), and a bundle with no carrier is stored under the key's.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `bundle` | body | object | yes | The signed attestation bundle. |
| `bundle.schema` | body | string | yes | The bundle schema's URL. |
| `bundle.attestation_id` | body | string | yes | The attestation's ID. |
| `bundle.device_id` | body | string | yes | The capture or approving device's ID. |
| `bundle.claim_id` | body | string | yes | The claim, or case in another vertical, the asset belongs to. |
| `bundle.capture_type` | body | string | yes | `image` or `video`. |
| `bundle.capture_timestamp` | body | string | yes | When the device captured it. |
| `bundle.sensor_hash` | body | string | yes | SHA-256 of the image bytes, or the video's chain root. |
| `bundle.signature` | body | string | yes | The base64url signature from the passkey assertion. |
| `bundle.signature_algorithm` | body | string | yes | `ECDSA-P256-SHA256`. |
| `bundle.schema_version` | body | string | yes | The bundle schema version. |
| `image_base64` | body | string | yes | The image bytes, base64-encoded. |
| `case_type` | body | string | yes | The vertical: `insurance_claim` (the default), `inspection`, `escrow`, `proof_of_work`, `presence` or `custom`. |

### Returns

The attestation, with its risk score.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`detector_not_configured`](https://provenanceauth.com/docs/platform/errors.md#detector_not_configured)
- [`idempotency_key_reused`](https://provenanceauth.com/docs/platform/errors.md#idempotency_key_reused)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`media_too_large`](https://provenanceauth.com/docs/platform/errors.md#media_too_large)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`plan_required`](https://provenanceauth.com/docs/platform/errors.md#plan_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`screening_provider_error`](https://provenanceauth.com/docs/platform/errors.md#screening_provider_error)
- [`usage_limit_reached`](https://provenanceauth.com/docs/platform/errors.md#usage_limit_reached)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/attestations" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "bundle": {
      "schema": "https://provenanceauth.com/claims/v2",
      "attestation_id": "att_3B1WY2X38T9XDSRZHA9NQRP30Y",
      "device_id": "dev_00000000000000000000000000000001",
      "claim_id": "CLM-2026-0412",
      "capture_type": "image",
      "capture_timestamp": "2026-10-24T13:30:00.000Z",
      "sensor_hash": "03cbcb52cf9c3fd0e9f54d96c03aeac08c36de58c0dbd147ffc1a9b1aea6d522",
      "signature": "MEUCIQDx5n0q4sSPVd3a2Wbl0L8kQ0YwGg",
      "signature_algorithm": "ECDSA-P256-SHA256",
      "schema_version": "2.0.0"
    },
    "image_base64": "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAP",
    "case_type": "insurance_claim"
  }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/attestations`, {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    "bundle": {
      "schema": "https://provenanceauth.com/claims/v2",
      "attestation_id": "att_3B1WY2X38T9XDSRZHA9NQRP30Y",
      "device_id": "dev_00000000000000000000000000000001",
      "claim_id": "CLM-2026-0412",
      "capture_type": "image",
      "capture_timestamp": "2026-10-24T13:30:00.000Z",
      "sensor_hash": "03cbcb52cf9c3fd0e9f54d96c03aeac08c36de58c0dbd147ffc1a9b1aea6d522",
      "signature": "MEUCIQDx5n0q4sSPVd3a2Wbl0L8kQ0YwGg",
      "signature_algorithm": "ECDSA-P256-SHA256",
      "schema_version": "2.0.0"
    },
    "image_base64": "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAP",
    "case_type": "insurance_claim"
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/attest/attestations", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}, json={
    "bundle": {
        "schema": "https://provenanceauth.com/claims/v2",
        "attestation_id": "att_3B1WY2X38T9XDSRZHA9NQRP30Y",
        "device_id": "dev_00000000000000000000000000000001",
        "claim_id": "CLM-2026-0412",
        "capture_type": "image",
        "capture_timestamp": "2026-10-24T13:30:00.000Z",
        "sensor_hash": "03cbcb52cf9c3fd0e9f54d96c03aeac08c36de58c0dbd147ffc1a9b1aea6d522",
        "signature": "MEUCIQDx5n0q4sSPVd3a2Wbl0L8kQ0YwGg",
        "signature_algorithm": "ECDSA-P256-SHA256",
        "schema_version": "2.0.0"
    },
    "image_base64": "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAP",
    "case_type": "insurance_claim"
}).json()
```

### Response 200

```json
{
  "id": "att_1FHHN1X7AB9SX8RFTV3NZ9MB34",
  "object": "attestation",
  "claim_id": "CLM-2026-10421",
  "status": "verified",
  "risk_score": 0,
  "risk_factors": []
}
```

## Verify an attestation

`POST /v1/attest/verifications`

Verifies a stored attestation by attestation_id, or an image or video you send with its bundle. Returns the status, risk score, factors, chain of custody and device. Only your key's carrier's stored attestations are read; another carrier's attestation_id is a 404 like an unknown one, and an image another carrier attested is verified fresh, with no stored chain.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `attestation_id` | body | string | yes | The attestation's ID. |

### Returns

The verification result, with its risk factors.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`detector_not_configured`](https://provenanceauth.com/docs/platform/errors.md#detector_not_configured)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`media_too_large`](https://provenanceauth.com/docs/platform/errors.md#media_too_large)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`screening_provider_error`](https://provenanceauth.com/docs/platform/errors.md#screening_provider_error)
- [`usage_limit_reached`](https://provenanceauth.com/docs/platform/errors.md#usage_limit_reached)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/verifications" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "attestation_id": "att_00000000000000000000000000000001" }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/verifications`, {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({ "attestation_id": "att_00000000000000000000000000000001" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/attest/verifications", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}, json={
    "attestation_id": "att_00000000000000000000000000000001"
}).json()
```

### Response 200

```json
{
  "id": "att_00000000000000000000000000000001",
  "object": "verification_result",
  "claim_id": "CLM-SANDBOX-CLEAN",
  "status": "verified",
  "risk_score": 0,
  "risk_factors": [],
  "chain": [
    {
      "event_type": "capture",
      "timestamp": "2026-11-07T19:21:45.943Z",
      "actor": "device:dev_00000000000000000000000000000001",
      "summary": "Captured image attestation"
    }
  ],
  "device_info": {
    "device_id": "dev_00000000000000000000000000000001",
    "enrolled": true,
    "cert_valid": true,
    "cert_expires": "2028-11-06T19:21:45.000Z"
  },
  "capture_type": "image",
  "liveness_checked": false,
  "synthetic_media_score": null,
  "synthetic_media_factors": null,
  "verified_at": "2026-11-07T19:21:46.994Z",
  "sensor_hash": "e75263ab8ed8ad48240002eb9e2648a3c8cebc85e47c3f9a6fb7f0ef264d23fd"
}
```

## Escalate a claim

`POST /v1/attest/claims/{id}/escalate`

Escalates a claim for investigation: adds an escalation event to each asset's chain of custody, returns an evidentiary PDF and sends the attest.claim.escalated webhook.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | string | no | Retry a create safely: the same key + request returns the stored response (24 h, per caller). |
| `id` | path | string | yes | The claim, or case in another vertical, the asset belongs to. |
| `adjuster_id` | body | string | yes | The adjuster escalating. |
| `notes` | body | string | yes | Notes. |

### Returns

The escalation, with its evidentiary PDF.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`invalid_json`](https://provenanceauth.com/docs/platform/errors.md#invalid_json)
- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-PARTIAL/escalate" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "adjuster_id": "adj_dana",
    "notes": "Two web uploads from unknown devices"
  }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-PARTIAL/escalate`, {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}`, "Content-Type": "application/json" },
  body: JSON.stringify({
    "adjuster_id": "adj_dana",
    "notes": "Two web uploads from unknown devices"
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-PARTIAL/escalate", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}, json={
    "adjuster_id": "adj_dana",
    "notes": "Two web uploads from unknown devices"
}).json()
```

### Response 200

```json
{
  "id": "esc_01M6VQBD7V8YAGFPJMGCZ3XZTK",
  "object": "escalation",
  "claim_id": "CLM-SANDBOX-PARTIAL",
  "pdf_base64": "JVBERi0xLjcKJYGBgYEKCjcgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL0xlbmd0aCAxMjA2Cj4+CnN0cmVhbQp4nO1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