API reference · Receipts
List attestations
GET/v1/receipts/attestations
Your own attestations, newest first.
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
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
event_id | string | no | One event (ev_…). |
evt_id | string | no | One fact (evt_…). |
since | integer | no | ms epoch, by creation time. |
limit | integer | no | Page size. 1 to 1000. Default 100. |
Request
curl "https://api.langbot.ai/v1/receipts/attestations?event_id=ev_nvda_q3_2026" \
-H "Authorization: Bearer $LANGBOT_API_TOKEN"from langbot import LangbotClient
async with LangbotClient() as lb: # reads LANGBOT_API_TOKEN
for a in await lb.attestations(event_id="ev_nvda_q3_2026"):
print(a["id"], a["evt_id"], a["t_acted"])const res = await fetch("https://api.langbot.ai/v1/receipts/attestations?event_id=ev_nvda_q3_2026", {
headers: { Authorization: `Bearer ${process.env.LANGBOT_API_TOKEN}` },
});
console.log(await res.json());Response
200 OK
{ "attestations": [ { "id": "att_01K7Q…", "evt_id": "evt_01K7Q0000000000000000000A2", "event_hash": "5d0e05c3…", "t_acted": 1760050125000, "key_id": "56475aa75463474c", "signature": "…" } ] }Errors
| Status | code | When |
|---|---|---|
| 401 | auth_required | No token was sent. |
| 401 | token_invalid | The token was not recognised (mistyped, revoked or expired). |
| 422 | validation_error | A parameter failed validation; detail[].loc names it. |
| 429 | rate_limited | Over your request budget; wait Retry-After seconds. |
Every error body is {"detail": …, "code": "…"}; branch on code. All codes: Errors.