Method: tuningJobs.cancel
Stay organized with collections
Save and categorize content based on your preferences.
Full name: projects.locations.tuningJobs.cancel
Cancels a tuning job.
Starts an asynchronous cancellation request. The server makes a best effort to cancel the job, but success is not guaranteed. Clients can use GenAiTuningService.GetTuningJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On successful cancellation, the tuning job is not deleted. Instead, its state is set to CANCELLED, and error is set to a status with a google.rpc.Status.code of 1, corresponding to code.CANCELLED.
Endpoint
post
https://aiplatform.googleapis.com/v1/{name}:cancel
Path parameters
name
string
Required. The name of the tuning job to cancel. Format: projects/{project}/locations/{location}/tuningJobs/{tuningJob}
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["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 2026-01-20 UTC."],[],[]]