Skip to main content
POST
cURL
Required scope: billing:export Generate a read-only snapshot export asynchronously. This does not change credits or payment settings. Dates are UTC [from,to); from must precede to. Poll until ready. CSV cells that could execute spreadsheet formulas are escaped. Required scope: billing:export. The API key is bound to exactly one workspace, institution and environment. There is no workspace override; this binding applies to every read and export. Accepted commands have a durable request receipt. Full response replay lasts 24 hours; afterward the same key and target return 409 idempotency_result_expired without re-execution. Different payloads return 409 idempotency_conflict. Use GET /v1/request-receipts/lookup to find the original resource. The fingerprint includes the resolved target path and intended payload; a key used on another target is rejected rather than replayed onto it. Pre-execution validation or insufficient-credit rejection creates no accepted receipt. Product scope · Processing lifecycle · Errors

Authorizations

Authorization
string
header
required

Server-to-server API key bound to exactly one workspace, institution tenant and environment. No caller-supplied workspace override is accepted. Do not use in public browser code.

Headers

Idempotency-Key
string
required

Stable key for this intended action; retain across retries.

Body

application/json
from
string<date-time>
required
to
string<date-time>
required
report_type
enum<string>
required
Available options:
usage,
ledger,
statement,
funding
format
enum<string>
required
Available options:
csv,
json
time_basis
enum<string>
required
Available options:
occurred_at,
posted_at,
initiated_at
snapshot_id
string

Reuse a snapshot returned by a financial read. If omitted, freeze a snapshot at acceptance.

Minimum string length: 1
filters
object

Response

Accepted; inspect the report status. Credit balances are unchanged.

data
object
required
meta
object
required