account

Export settled usage for every visible product and resource over a UTC date range.

Selects settlement timestamps in [since, until), with exact decimal strings for money and quantities. Pending holds are excluded. Each page contains data, nextCursor and server-rendered CSV; concatenate CSV pages in order, with the header on the first page only. Follow nextCursor with the same range. Pages use deterministic timestamp/id ordering and preserve microseconds; they are live reads, not a retained database snapshot. Every page rechecks the key's usage permission and tenant visibility. finalThrough is a moment before which no row can still appear or change; a row's final is true once its resource is deleted and every charge it will have is settled before finalThrough.

get/v1/usage/export

Request

  • Base URL: https://api.withruntime.com
  • URL: https://api.withruntime.com/v1/usage/export
  • Auth: HTTP bearer

Query parameters

sincestring

Inclusive UTC ISO timestamp with Z, for example 2026-09-01T00:00:00.000Z.

untilstring

Exclusive UTC ISO timestamp with Z.

cursorstring
limitinteger

Response

Success

sincestring required
untilstring required
nextCursorstring nullable required
finalThroughstring nullable required
csvstring required

Changes

No recorded changes to this operation across all 1 revision of this API.