API referenceAccount
Export usage as CSV
GET
One row per generation created between start and end (inclusive, UTC dates), oldest
first. Columns: generation_id, created_at, completed_at, model, served_by, type, mode, status, error_code, billed_unit, billed_quantity, charge_micros, charge_usd, api_key_id, metadata.
At most 100,000 rows; narrow the range if you get range_too_large. Requires account:read.
bearerAuthheader
AuthorizationBearer <token>API key, e.g. rf_live_3f9k2q_….
start*stringFormat
dateend*stringFormat
dateCSV file.
response?stringtext/csvcurl -X GET 'https://api.rawframe.dev/v1/account/usage/export?start=2019-08-24&end=2019-08-24'Example Response
"string"Start a credit top-up POST
Creates a Stripe Checkout Session. Redirect the user to `url`; credits are added when the payment succeeds (usually seconds later). A paid invoice is emailed for each top-up. Requires the `billing:write` scope.
Get auto-recharge settings GET
Requires the `account:read` scope.