Example searches: “message”, “skip_synced_flush”, “https://{{hostname}}/api/v1”, “Elastic Cloud Enterprise API”, “errors”
Retrieves the license.
The information for the license.
License data
Version of the license
Unique identifier of the license
Issuer of the license
Entity the license was issued to
When the license was issued, in milliseconds since the Unix epoch
Type of the license
Type of the license subscription
Digital signature
Initial validity of the license, in milliseconds since the Unix epoch
When the license expires, in milliseconds since the Unix epoch
Maximum number of allocators. Empty for version >= 3
Maximum RAM per allocator in MB. Empty for version >= 3
Maximum number of instances. Only present for version 3
Maximum number of resource units, where each unit is 64GB. Only present for version > 3
Operation mode
List of cluster licenses
Information about the Elasticsearch cluster license.
Object containing the cluster license data
Information about current usage.
The total amount of memory available to your system
The license cannot be found. (code: license.license_not_found)
license.license_not_found
The error codes associated with the response
Value is license.license_not_found.
A list of errors that occurred in the failing request
A structured code representing the error type that occurred
A human readable message describing the error that occurred
If the error can be tied to a specific field or fields in the user request, this lists those fields
curl \ --request GET 'https://{{hostname}}/api/v1/platform/license' \ --user "username:password"