---
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`

## Request

- Base URL: `https://api.opengovernance.io`
- URL: `https://api.opengovernance.io/inventory/api/v2/analytics/spend/count`
- Auth: API key in header `Authorization`

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

## Response `200`

OK

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

---

[API](https://skmtc.dev/opengovern/apis/opengovernance-service-api.md) - [All operations](https://skmtc.dev/opengovern/apis/opengovernance-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opengovern/apis/opengovernance-service-api/revisions/ab05295c4094?raw)
