Attest · API reference
Exports
Evidence bundles for a claim, verifiable offline.
Related guide: Chain of custody
The export object
Attributes
idstringRequired- Unique identifier for the object.
objectenumRequired- The type of object. One of
export. claim_idstringRequired- The claim, or case in another vertical, the asset belongs to.
statusstringRequired- The object's current status.
manifest_hashstringRequired- SHA-256 of the manifest.
timestampobject- The independent timestamp of the manifest hash, when a timestamp authority is set up.
Show child attributes
statusstringRequired- The object's current status.
reasonstringRequired- The reason given or recorded.
file_countintegerRequired- Files in the bundle.
download_urlstringRequired- Where to download the ZIP.
expires_atstringRequired- When it expires.
timestamp_statusstring- Whether the manifest was timestamped:
stamped,not_configuredorerror. created_atstring- When it was created.
The export object
{
"id": "exp_01M6VQBD81JH7GK1655G0NMD69",
"object": "export",
"claim_id": "CLM-SANDBOX-FRAUD",
"status": "ready",
"manifest_hash": "66260f70034f96926d4e85c8d81865984230b965876e53d6c7c40c43ff01d574",
"timestamp": {
"status": "not_configured",
"reason": "TSA_URL is not set on this deployment"
},
"file_count": 9,
"download_url": "/v1/exports/exp_01M6VQBD81JH7GK1655G0NMD69/download",
"expires_at": "2026-11-08T19:21:47.009Z"
}Retrieve an export
GET/v1/exports/{id}
Returns an evidence export's status and manifest. Exports are kept for 24 hours.
Parameters
idstringpathRequired- The object's ID.
Returns
The export. See the export object.
Errors
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -s -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/export" \
-H "Authorization: Bearer $PROVENANCE_KEY" > step.json
export EXPORT_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/exports/$EXPORT_ID" \
-H "Authorization: Bearer $PROVENANCE_KEY"const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/export`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
const exportId = step1.id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/exports/${exportId}`, {
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/export", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
export_id = step1["id"]
data = httpx.get(f"{api}/v1/exports/{export_id}", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()Response 200
{
"id": "exp_01M6VQBD825E85KP67RRF50HXJ",
"object": "export",
"claim_id": "CLM-SANDBOX-FRAUD",
"status": "ready",
"manifest_hash": "1969c9678d714904b0ede1d5758382c267f307dce22819cbc49a01412fa10ce5",
"timestamp_status": "not_configured",
"file_count": 9,
"created_at": "2026-11-07T19:21:47.010Z",
"expires_at": "2026-11-08T19:21:47.010Z",
"download_url": "/v1/exports/exp_01M6VQBD825E85KP67RRF50HXJ/download"
}Download an export
GET/v1/exports/{id}/download
Downloads an evidence export as a ZIP file.
Parameters
idstringpathRequired- The object's ID.
Returns
The evidence bundle, as a ZIP file.
Errors
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -s -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/export" \
-H "Authorization: Bearer $PROVENANCE_KEY" > step.json
export EXPORT_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/exports/$EXPORT_ID/download" \
-H "Authorization: Bearer $PROVENANCE_KEY"const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/export`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
const exportId = step1.id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/exports/${exportId}/download`, {
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/export", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
export_id = step1["id"]
data = httpx.get(f"{api}/v1/exports/{export_id}/download", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()List exports
GET/v1/exports
Lists the exports you can still download, newest first, from the last 24 hours. An Authorize key or a console session sees the account's evidence packs; an Attest key sees its carrier's claim evidence bundles, and a console session every bundle of its own carriers. Each item is the export's metadata, never its bytes. Download one with GET /v1/exports/{id}/download.
Parameters
limitintegerquery- Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery- Opaque; pass a response's
next_cursorback to get the next page.
Returns
A page of exports.
Errors
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -s -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/export" \
-H "Authorization: Bearer $PROVENANCE_KEY" > step.json
export EXPORT_ID=$(jq -r '.id' step.json)
curl "$PROVENANCE_API/v1/exports" \
-H "Authorization: Bearer $PROVENANCE_KEY"const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/export`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
const exportId = step1.id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/exports`, {
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/export", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
export_id = step1["id"]
data = httpx.get(f"{api}/v1/exports", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()Response 200
{
"object": "list",
"data": [
{
"id": "exp_01M6ZNK6HWTDGMV78XBHCCAJNR",
"object": "export",
"kind": "claim_evidence",
"claim_id": "CLM-SANDBOX-FRAUD",
"status": "ready",
"manifest_hash": "3fdabb6102be0ebfcb2b6bbec1fa82b1c202af79fc01a491c60eecdadd905fad",
"timestamp_status": "not_configured",
"file_count": 9,
"created_at": "2026-11-09T08:08:02.876Z",
"expires_at": "2026-11-10T08:08:02.876Z",
"download_url": "/v1/exports/exp_01M6ZNK6HWTDGMV78XBHCCAJNR/download"
}
],
"has_more": false,
"next_cursor": null
}Export a claim's evidence
POST/v1/attest/claims/{id}/export
Builds an evidence bundle for a claim: each attestation's bundle and verification, the chain of custody, media hashes, a signed manifest and an offline verifier.
Parameters
Idempotency-Keystringheader- Retry a create safely: the same key + request returns the stored response (24 h, per caller).
idstringpathRequired- The claim, or case in another vertical, the asset belongs to.
Returns
The export, with its download link. See the export object.
Errors
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/export" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/export`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/export", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()Response 202
{
"id": "exp_01M6VQBD81JH7GK1655G0NMD69",
"object": "export",
"claim_id": "CLM-SANDBOX-FRAUD",
"status": "ready",
"manifest_hash": "66260f70034f96926d4e85c8d81865984230b965876e53d6c7c40c43ff01d574",
"timestamp": {
"status": "not_configured",
"reason": "TSA_URL is not set on this deployment"
},
"file_count": 9,
"download_url": "/v1/exports/exp_01M6VQBD81JH7GK1655G0NMD69/download",
"expires_at": "2026-11-08T19:21:47.009Z"
}