---
title: "Get Assets Table"
method: GET
path: "/inventory/api/v2/analytics/table"
tags: ["analytics"]
---

# Get Assets Table

`GET /inventory/api/v2/analytics/table`

## Request

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

Returns asset table with respect to the dimension and granularity

## Query parameters

- `startTime` integer
- `endTime` integer
- `granularity` 'monthly' | 'daily' | 'yearly'
- `dimension` 'connection' | 'metric'

## Response `200`

OK

- GithubComOpengovernOpengovernancePkgInventoryApiAssetTableRow[]
  - `dimensionId` string
  - `dimensionName` string
  - `integrationType` string
  - `resourceCount` object

---

[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)
