RawFrame

Export usage as CSV

GET
/v1/account/usage/export

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.

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key, e.g. rf_live_3f9k2q_….

Query Parameters

start*string
Formatdate
end*string
Formatdate

Response Body

CSV file.

response?stringtext/csv
Example Request
curl -X GET 'https://api.rawframe.dev/v1/account/usage/export?start=2019-08-24&end=2019-08-24'
Example Response
"string"