Method: projects.locations.studies.trials.checkTrialEarlyStoppingState

Stay organized with collections Save and categorize content based on your preferences.

Checks whether a Trial should stop or not. Returns a long-running operation. When the operation is successful, it will contain a [CheckTrialEarlyStoppingStateResponse][].

HTTP request

POST https://{service-endpoint}/v1beta1/{trialName}:checkTrialEarlyStoppingState

Where {service-endpoint} is one of the supported service endpoints.

Path parameters



Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the trialName resource:

  • aiplatform.trials.get

For more information, see the IAM documentation.