---
title: "Count analytics spend"
method: GET
path: "/inventory/api/v2/analytics/spend/count"
tags: ["analytics"]
---

# Count analytics spend

`GET /inventory/api/v2/analytics/spend/count`

Retrieving the count of resources and connections with respect to specified filters.

## Response `200`

OK

- GithubComOpengovernOpengovernancePkgInventoryApiCountAnalyticsSpendResponse
  - `connectionCount` integer
  - `metricCount` integer

---

[API](https://skmtc.net/opengovern/apis/opengovernance-service-api.md) · [All operations](https://skmtc.net/opengovern/apis/opengovernance-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opengovern/opengovernance-service-api/versions/ab05295c4094/schema)
