Get license information Beta
Returns information about your Elastic license, including its type, its status, when it was issued, and when it expires. For more information about the different types of licenses, refer to Elastic Stack subscriptions.
Query parameters
-
If
true
, this parameter returns enterprise for Enterprise license types. Iffalse
, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility. This parameter is deprecated and will always be set to true in 8.x. -
local boolean
Specifies whether to retrieve local information. The default value is
false
, which means the information is retrieved from the master node.
GET /_license
curl \
-X GET http://api.example.com/_license