---
title: "Get the license gravitee is running on."
method: GET
path: "/license"
tags: ["Installation"]
deprecated: true
---

# Get the license gravitee is running on.

`GET /license`

## Request

- Base URL: `/management/v2` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/management/v2/license`
- Auth: API key in cookie `Auth-Graviteeio-APIM`

> **Deprecated.**

Returns the license information of the gravitee instance.

User must be authenticated.

## Response `200`

The license and its features. If there is no license, then the features will be empty.

- GraviteeLicense
  - `tier` string: The tier gravitee is running on.
  - `packs` string[]: The packs included in the tier gravitee is running on.
  - `features` string[]: The features included in the tier gravitee is running on.
  - `expiresAt` string, date-time: The date (as timestamp) when the license will expire.
  - `isExpired` boolean: If the license is expired.
  - `scope` string: The scope of the license.

## Other responses

- `default`: Generic error response

## Changes

- **2024-04-18** `5effeca2c00c`: 1 breaking
  - the `details/items/invalidValue` response's property type changed from `object` to no type for status `default`
- **2024-02-23** `e84e4b399efa`: 1 info
  - added the optional property `isExpired` to the response with the `200` status
- **2024-02-09** `8bedecf001f0`: 1 info
  - added the optional property `scope` to the response with the `200` status

[Operation history](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation-deprecated/changes/license/get.md)

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation-deprecated.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation-deprecated/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation-deprecated/revisions/8591834692f3?raw)
