v1
latestSwagger 2.02026-07-17172265595.1 KBanalytics
List cost composition
Retrieving the cost composition with respect to specified filters. Retrieving information such as the total cost for the given time range, and the top services by cost.
get/inventory/api/v2/analytics/spend/composition
Query parameters
connectorstring[]
Connector type to filter by
connectionIdstring[]
Connection IDs to filter by - mutually exclusive with connectionGroup
connectionGroupstring[]
Connection group to filter by - mutually exclusive with connectionId
topinteger
How many top values to return default is 5
startTimeinteger
timestamp for start in epoch seconds
endTimeinteger
timestamp for end in epoch seconds
Response
OK
Example response
{
"others": 100,
"total_cost_value": 1000,
"total_count": 10
}