---
title: "Get the list of entities attached to a license."
method: GET
path: "/api/v2/licenses/{id}/entities"
tags: ["License"]
---

# Get the list of entities attached to a license.

`GET /api/v2/licenses/{id}/entities`

Get the list of entities attached to a license.

## Path parameters

- `id` integer, required

## Query parameters

- `page_number` integer
- `page_size` 10 | 20 | 30
- `query` string

## Response `200`

Success

- LicenseEntity[], nullable
  - `LicenseEntityId` integer, required
  - `CompanyId` integer, required — The ID of the company monitored by this license entity.
  - `CompanyName` string — The name of the company monitored by this license entity.
  - `EcosystemId` integer, nullable — The ID of the ecosystem monitored by this license entity. This field is valid when the customer is in Multi-Tenant mode. In Multi-Tenant mode remaning license count is decremented by one for each different ecosystem-company pair, whereas, in normal mode license count is decremented for each unique company.
  - `AttachDate` string, datetime — The date time that the company started to be monitored.

## Other responses

- `401` — Unauthorized
- `default` — Failure

---

[API](https://skmtc.net/blackkitetech/apis/black-kite-api.md) · [All operations](https://skmtc.net/blackkitetech/apis/black-kite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blackkitetech/black-kite-api/revisions/616dfa9b3b1f/schema)
