Get trial status API
Enables you to check the status of your trial.
Request
GET /_license/trial_status
Description
If you want to try all the subscription features, you can start a 30-day trial.
You are allowed to initiate a trial only if your cluster has not already activated a trial for the current major product version. For example, if you have already activated a trial for v6.0, you cannot start a new trial until v7.0. You can, however, request an extended trial at https://www.elastic.co/trialextension.
For more information about features and subscriptions, see https://www.elastic.co/subscriptions.
Authorization
You must have monitor cluster privileges to use this API. For more information, see Security privileges.
Examples
The following example checks whether you are eligible to start a trial:
resp = client.license.get_trial_status() print(resp)
response = client.license.get_trial_status puts response
const response = await client.license.getTrialStatus(); console.log(response);
GET /_license/trial_status
Example response:
{
"eligible_to_start_trial": true
}
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-trial-status.html