---
title: "POST /v1/{+trialName}:checkTrialEarlyStoppingState"
method: POST
path: "/v1/{+trialName}:checkTrialEarlyStoppingState"
tags: ["projects"]
---

# POST /v1/{+trialName}:checkTrialEarlyStoppingState

`POST /v1/{+trialName}:checkTrialEarlyStoppingState`

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

## Path parameters

- `trialName` string, required

## Request body

- GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateRequest — Request message for VizierService.CheckTrialEarlyStoppingState.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/aiplatform.md) · [All operations](https://skmtc.net/google/apis/aiplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/aiplatform/versions/b608d71b91f0/schema)
