v1
latestSwagger 2.02026-07-17172265595.1 KBanalytics
Get Spend Trend
Returns spend table with respect to the dimension and granularity
get/inventory/api/v2/analytics/spend/table
Query parameters
startTimeinteger
timestamp for start in epoch seconds
endTimeinteger
timestamp for end in epoch seconds
granularity'monthly' | 'daily' | 'yearly'
Granularity of the table, default is daily
dimension'connection' | 'metric'
Dimension of the table, default is metric
connectionIdstring[]
Connection IDs to filter by - mutually exclusive with connectionGroup
connectionGroupstring[]
Connection group to filter by - mutually exclusive with connectionId
connectorstring[]
Connector
metricIdsstring[]
Metrics IDs
Response
OK
Example response
[
{
"accountID": "1239042",
"category": "Compute",
"dimensionId": "compute",
"dimensionName": "Compute",
"integrationType": "AWS"
}
]