Lists TuningJobs in a Location.
Endpoint
gethttps://{endpoint}/v1/{parent}/tuningJobs
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
parent
string
Required. The resource name of the Location to list the TuningJobs from. Format: projects/{project}/locations/{location}
Query 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.
Example request
Python
Response body
Response message for GenAiTuningService.ListTuningJobs
If successful, the response body contains data with the following structure:
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.
JSON representation |
---|
{
"tuningJobs": [
{
object ( |