---
title: "Get resource collection with inventory data"
method: GET
path: "/inventory/api/v2/resource-collection/{resourceCollectionId}"
tags: ["resource_collection"]
---

# Get resource collection with inventory data

`GET /inventory/api/v2/resource-collection/{resourceCollectionId}`

Retrieving resource collection by specified ID with inventory data

## Path parameters

- `resourceCollectionId` string, required

## Response `200`

OK

- GithubComOpengovernOpengovernancePkgInventoryApiResourceCollection
  - `connection_count` integer
  - `created_at` string
  - `description` string
  - `filters` OpengovernanceResourceCollectionFilter[]
    - `account_ids` string[]
    - `connectors` string[]
    - `regions` string[]
    - `resource_types` string[]
    - `tags` object
  - `id` string
  - `integration_types` string[]
  - `last_evaluated_at` string
  - `metric_count` integer
  - `name` string
  - `resource_count` integer
  - `status` '' | 'active' | 'inactive'
  - `tags` object

---

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