Elastic License API

Licensing APIs enable you to manage your licenses.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /_license Get the cluster license · Get license information #
Ask an LLM
“What license type and expiry does my cluster have?”
“Can I see whether an enterprise license is installed?”
Tell an agent
Show my cluster license.
Get license info with accept_enterprise {accept_enterprise}.
PUT /_license Install a license via PUT · Update the license #
Ask an LLM
“Can I PUT a new license file onto the cluster?”
“Which license update uses PUT?”
Tell an agent
PUT license {license} on the cluster.
Use PUT to install license {license}, acknowledging with {acknowledge}.
POST /_license Update the cluster license · Update the license #
Ask an LLM
“How do I upload a new Elastic license?”
“Do I need to acknowledge when downgrading a license?”
Tell an agent
POST license {license} to the cluster.
Install licenses {licenses} and acknowledge with {acknowledge}.
DELETE /_license Delete the cluster license · Delete the license #
Ask an LLM
“What happens to paid features if I delete the license?”
“How do I remove the installed license?”
Tell an agent destructive · confirm first
Delete the cluster license.
Remove the license with master timeout {master_timeout}.
GET /_license/basic_status Check basic license eligibility · Get the basic license status #
Ask an LLM
“Can my cluster start a basic license?”
“Am I eligible to switch to the free basic tier?”
Tell an agent
Check whether I can start a basic license.
Get the basic license status.
GET /_license/trial_status Check trial license eligibility · Get the trial status #
Ask an LLM
“Is a trial license still available for this cluster?”
“Have I already used my trial?”
Tell an agent
Check whether I can start a trial.
Get the trial license status.
POST /_license/start_basic Switch to a basic license · Start a basic license #
Ask an LLM
“How do I move my cluster to the free basic license?”
“Do I have to acknowledge losing features when starting basic?”
Tell an agent
Start a basic license.
Start basic license with acknowledge {acknowledge}.
POST /_license/start_trial Start a trial license · Start a trial #
Ask an LLM
“How do I try the paid features for free?”
“Which trial type can I start?”
Tell an agent
Start a trial license.
Start a {type} trial with acknowledge {acknowledge}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elastic:elastic-license-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elastic-license-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elasticsearch License API
  description: 'Elasticsearch provides REST APIs that are used by the UI components and can be called directly to configure and access Elasticsearch features.

    ## Documentation source and versions

    This documentation is derived from the main branch of the elasticsearch-specification repository. It is provided under license Attribution-NonCommercial-NoDerivatives 4.0 International.

    This documentation contains work-in-progress information for future Elastic Stack releases.'
  license:
    name: Apache 2.0
    url: https://github.com/elastic/elasticsearch-specification/blob/main/LICENSE
  version: ''
security:
- apiKeyAuth: []
- basicAuth: []
- bearerAuth: []
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://artifacts.apis.io/elastic/openapi/elastic-license-api-openapi.yml