Receipts batch (paid, x402; preview free)
receipts_batchPAID (x402 or CSOAI LTD invoice). A historical batch of the estate's measurement receipts via https://councilof.ai/api/receipts/batch: every signed card-v0 leaf whose as_of falls in [from,to] (≤200), each with its Merkle inclusion path and the public root(s) that carried it, plus the root index for the window and one manifest card citing the batch sha256. Manifest signing is conditional: a returned unsigned manifest declares manifest_card.sig_ed25519:null and unsigned_reason, with signature unmeasured. Manifest root inclusion remains unmeasured. If signing throws after settlement, the route returns PAID_NOT_DELIVERED with no batch or manifest delivered; preserve the settlement receipt and reconcile before reissue, without automatically retrying or paying again. preview=true is free and returns count, span, root count and the sha256 of the exact bytes the paid call returns. Recent leaves are free at /root.json, /cards/ and /api/proof?sha= — the batch sells assembly across history, never a conclusion. This tool returns historical measurement leaves, not payment receipts. /api/receipts/latest reports aggregate receipt-store state when available; its counts do not verify a particular payment, delivery or buyer acceptance. Without x_payment the tool returns the 402 challenge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Window end, ISO-8601. Defaults to now. | |
| from | Yes | Window start, ISO-8601. Required. | |
| preview | No | true = free: count, span, roots and batch sha256 without the leaves. | |
| x_payment | No | The X-PAYMENT header value signed against accepts[] from the previous 402. Omit to receive the challenge. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| route | No | ||
| status | Yes | PAYMENT_REQUIRED, DELIVERED, NOT_DEPLOYED, UNREACHABLE, UNREADABLE_RESPONSE, BAD_ARGUMENTS or HTTP_<code> | |
| accepts | No | ||
| resource | No | ||
| deliverable | No | ||
| http_status | No | ||
| x402Version | No | ||
| delivery_state | No | ||
| settlement_state | No | ||
| payment_presented | No | ||
| not_a_certification | No |