Query Cost Data
Retrieves cost and usage data for the given time frame.
Use Query Cost Data to analyze backup costs by cloud provider, resource type, and resource. For details on exploring your costs visually in the Eon console, see About Cost Explorer.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
Request
Currency unit for cost amounts.
Use CREDITS for Eon credits and USD for U.S. dollars.
UNSPECIFIED is supported only in responses.
Whether usage is returned in byte-months, raw bytes, operations, or object-months for the specified timeFrame.
UNSPECIFIED is supported only in responses.
Limits the response to the top n resources by total cost over timeFrame, and folds all other matching resources into one aggregated record per time period in granularity.
Use this when a resource-level query would return too many records—for example, to build an efficient top-spenders chart without requesting every resource for every period.
Applies only when grouping by RESOURCE or RESOURCE_AND_VAULT.
Otherwise, ignored.
Omit to return all matching resources.
Aggregated records have no dimensions and typically have resourceCount greater than 1.