---
title: "Get a license defined for the tenant."
method: GET
path: "/api/v2/licenses/{id}"
tags: ["License"]
---

# Get a license defined for the tenant.

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

Get a license defined for the tenant.

## Path parameters

- `id` integer, required

## Response `200`

Success

- License
  - `LicenseId` integer, required
  - `Type` string — There are three license types; Continuous Annual, Continuous 60-day and AI Agent.
  - `StartDate` string, datetime — The date time the license starts.
  - `EndDate` string, datetime — The date time the license expires.
  - `NumberOfRemainingEntities` integer, nullable — The remaining valid entity count for this license.
  - `NumberOfMaxEntities` integer, nullable — The upper entity limit for this license.
  - `RemainingSwapCount` integer — The number of remaining swap operations available for this license. A value of -1 indicates unlimited swaps.
  - `TotalSwapCount` integer — The total number of swap operations permitted for this license. A value of -1 indicates unlimited swaps.

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `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/7dadaba760fb/schema)
