API reference · Receipts

Get a provenance report

GET/v1/provenance/{attestation_id}

A signed report of everything the feed had delivered to you for an event up to the moment you acted.

On this page

Auth. An API token: Authorization: Bearer lb_… (create one). Signed-in web sessions work too.

Limits. Counts against your plan's API requests (60, 600 or 3,000 a minute on Free, Builder and Standard).

Parameters

Path parameters

NameTypeRequiredDescription
attestation_idstringyesOne of your attestations (att_…).

Query parameters

NameTypeRequiredDescription
formatstringnojson or jsonl. Default json.

Request

Terminal
curl "https://api.langbot.ai/v1/provenance/att_01K7Q" \
  -H "Authorization: Bearer $LANGBOT_API_TOKEN"

Response

200 OK

JSON
{
  "v": 1,
  "report": "provenance",
  "id": "att_01K7Q…",
  "event_id": "ev_nvda_q3_2026",
  "attestation": { "id": "att_01K7Q…", "evt_id": "evt_01K7Q…A2", "t_acted": 1760050125000 },
  "fact": { "event": { "id": "evt_01K7Q…A2", "hash": "5d0e05c3…" }, "chain": { "chain_seq": 2, "prev_hash": "b6e26232…" }, "hash_matches_attestation": true, "rights": "licensed" },
  "known_before": [ { "evt_id": "evt_01K7Q…A2", "channel": "socket", "t_delivered": 1760050124100 } ],
  "known_before_count": 1,
  "checkpoint": { "chain_seq": 2, "signature": "cEf385IN…" },
  "generated_at": 1760050130000,
  "key_id": "56475aa75463474c",
  "signature": "…"
}

Signed over the whole body; check it with Verify events (reports) or offline. Evidence, not a judgement of the action.

Errors

StatuscodeWhen
404not_foundNo attestation with that id on your account.
401auth_requiredNo token was sent.
401token_invalidThe token was not recognised (mistyped, revoked or expired).
422validation_errorA parameter failed validation; detail[].loc names it.
429rate_limitedOver your request budget; wait Retry-After seconds.

Every error body is {"detail": …, "code": "…"}; branch on code. All codes: Errors.