---
title: "Get license information"
method: GET
path: "/api/license"
tags: ["License"]
---

# Get license information

`GET /api/license`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/license`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/license/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Success

- LicenseResponse
  - `base` object, required
  - `can_update_license` boolean, required: Whether `POST /license/refresh` would pass both its route check and its handler check.
  - `decision` object, required
  - `env_key_active` boolean, required
  - `env_key_in_use` boolean, required: Whether the loaded key is the `O2_LICENSE_KEY` one, i.e. no pasted key superseded it.
  - `evaluated_at` integer, required
  - `expired` boolean, required
  - `ingestion_exceeded` integer, required
  - `ingestion_used` number, double, required
  - `input` object, nullable
  - `installation_id` string, required
  - `key` string, nullable
  - `license` object, nullable
  - `refresh` object, required
  - `rev_hwm_warning` object, nullable
  - `waivers` object[], required

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
