Method: projects.locations.tuningJobs.create

Creates a TuningJob. A created TuningJob right away will be attempted to be run.

HTTP request

POST https://{service-endpoint}/v1/{parent}/tuningJobs

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

Path parameters



Required. The resource name of the Location to create the TuningJob in. Format: projects/{project}/locations/{location}

Request body

The request body contains an instance of TuningJob.

Response body

If successful, the response body contains a newly created instance of TuningJob.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • aiplatform.tuningJobs.create

For more information, see the IAM documentation.