v1

latestSwagger 2.02026-07-17172265595.1 KB
analytics

List analytics composition

Retrieving tag values with the most resources for the given key.

get/inventory/api/v2/analytics/composition/{key}

Path parameters

keystring required

Tag key

Query parameters

metricType'assets' | 'spend'

Metric type, default: assets

topinteger required

How many top values to return default is 5

connectorstring[]

Connector types to filter by

connectionIdstring[]

Connection IDs to filter by - mutually exclusive with connectionGroup

connectionGroupstring[]

Connection group to filter by - mutually exclusive with connectionId

resourceCollectionstring[]

Resource collection IDs to filter by

endTimeinteger

timestamp for resource count in epoch seconds

startTimeinteger

timestamp for resource count change comparison in epoch seconds

Response

OK

top_valuesobject
total_countinteger
total_value_countinteger