v1

latestOpenAPI 3.0.0CoreStack Inc License2026-07-248001,5071.7 MB
Resource

Get Inventory Count

Get inventory category count based on the cloud and cloud account will list categories & Get inventory resource count based on the cloud and cloud account will list all resources with resource_category, resource_type, resource and will list only the count on number of resources available in particular category

post/resource/inventory/{tenant_id}/count

Path parameters

tenant_idstring required

Specify the tenant ID for the inventory. This is a unique ID and can be retrieved using the List Tenants API.

Request body

identifier'category' | 'resource' required

Category/Resource based count for the cloud

Example request

{
  "identifier": "category",
  "filters": {
    "service": "AWS"
  }
}

Response

Success

resource_detailsobject

Inventory resource count details