Get workspace cost usage
Returns the base cost of the workspace’s usage over time, bucketed by UTC day. The response is a tabular structure with columns, column_types, column_units, and rows, with one row per group and bucket. total_cost is the base cost in the workspace’s currency (excluding overage surcharges) and total_charge_count is the billed quantity. Usage can be grouped or filtered by at most two of user_id, hashed_xi_api_key, region, reporting_workspace_id, billing_group_id, product_type, surface and actor, and grouping by two of them requires an eq or in filter on one. model, request_source, fiat_charge_type and fiat_currency can always be added. Some id columns also get a display-name column, such as user_label, appended after the existing columns.
Headers
Request
Start of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.
End of the time range as a Unix timestamp in milliseconds. Must be at least 2020-01-01.