Method: projects.locations.tuningJobs.list

Lists TuningJobs in a Location.

HTTP request

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

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

Path parameters

Parameters
parent

string

Required. The resource name of the Location to list the TuningJobs from. Format: projects/{project}/locations/{location}

Query parameters

Parameters
filter

string

Optional. The standard list filter.

pageSize

integer

Optional. The standard list page size.

pageToken

string

Optional. The standard list page token. Typically obtained via [ListTuningJob.next_page_token][] of the previous GenAiTuningService.ListTuningJob][] call.

Request body

The request body must be empty.

Response body

Response message for GenAiTuningService.ListTuningJobs

If successful, the response body contains data with the following structure:

JSON representation
{
  "tuningJobs": [
    {
      object (TuningJob)
    }
  ],
  "nextPageToken": string
}
Fields
tuningJobs[]

object (TuningJob)

List of TuningJobs in the requested page.

nextPageToken

string

A token to retrieve the next page of results. Pass to ListTuningJobsRequest.page_token to obtain that page.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • aiplatform.tuningJobs.list

For more information, see the IAM documentation.