gateway.openapi_Gateway
Query grouped usage cost subtotals for an account.
Returns rated dollar subtotals for usage over a time range, grouped by up to two of: HOUR, DAY, MODEL, USER, or API_KEY. Unlike GET /billingUsage (metered quantities) and GET /billing/summary (line items by billing category), this endpoint returns rated costs broken down by caller-supplied dimensions, with pagination and an account-wide subtotal. Requires account administrator access for ACCOUNT scope; SELF scope returns costs for the authenticated principal only.
post/v1/accounts/{account_id}/usageCosts:query
Request
- Base URL: https://api.fireworks.ai
- URL: https://api.fireworks.ai/v1/accounts/{account_id}/usageCosts:query
- Auth: HTTP bearer
Path parameters
account_idstring required
The Account Id
Request body
Response
A successful response.
Changes
No recorded changes to this operation across all 1 revision of this API.