Optional. If provided, it will be used as the completed Trial's finalMeasurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement
trialInfeasibleboolean
Optional. True if the Trial cannot be run with the given Parameter, and finalMeasurement will be ignored.
infeasibleReasonstring
Optional. A human readable reason why the trial was infeasible. This should only be provided iftrialInfeasibleis true.
Response body
If successful, the response body contains an instance ofTrial.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: trials.complete\n\n**Full name**: projects.locations.studies.trials.complete\n\nMarks a Trial as complete. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1``/{name}:complete` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`name` `string` \nRequired. The Trial's name. Format: `projects/{project}/locations/{location}/studies/{study}/trials/{trial}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `finalMeasurement` `object (`[Measurement](/vertex-ai/docs/reference/rest/v1/Measurement)`)` \nOptional. If provided, it will be used as the completed Trial's finalMeasurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement\n`trialInfeasible` `boolean` \nOptional. True if the Trial cannot be run with the given Parameter, and finalMeasurement will be ignored.\n`infeasibleReason` `string` \nOptional. A human readable reason why the trial was infeasible. This should only be provided if `trialInfeasible` is true. \n\n### Response body\n\nIf successful, the response body contains an instance of [Trial](/vertex-ai/docs/reference/rest/v1/projects.locations.studies.trials#Trial)."]]