list_receipts
Get receipts for many of your workspace's priced calls at once, as one statement with totals: name up to 50 usage event ids, or a period (this calendar month by default, at most 366 days), optionally for one function or agent. A period statement also counts, for each agent, the value signals set up in Settings, Value receipts. Receipts are made only when you ask. For CSV or a printable page, call GET /api/receipts with format=csv or format=html. Needs a Last Price credential with price compute or billing read scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Up to 50 usage event ids, comma separated. Send ids or a period, not both. | |
| limit | No | Receipts per page for a period. Defaults to 100. | |
| offset | No | Receipts to skip for a period. Defaults to 0, at most 1000000. | |
| agent_id | No | Only calls made by this agent. A key bound to an agent always gets only its own calls. | |
| end_date | No | End of the period, ISO 8601. Defaults to now. | |
| start_date | No | Start of the period, ISO 8601. Defaults to the first of this month (UTC). | |
| function_id | No | Only calls priced by this function. |