Lists tuned models owned by the user.
HTTP request
GET https://generativelanguage.googleapis.com/v1beta/tunedModels
Query parameters
Parameters | |
---|---|
pageSize |
Optional. The maximum number of If unspecified, at most 10 tuned models will be returned. This method returns at most 1000 models per page, even if you pass a larger pageSize. |
pageToken |
Optional. A page token, received from a previous Provide the When paginating, all other parameters provided to |
filter |
Optional. A filter is a full text search over the tuned model's description and display name. By default, results will not include tuned models shared with everyone. Additional operators: - owner:me - writers:me - readers:me - readers:everyone Examples: "owner:me" returns all tuned models to which caller has owner role "readers:me" returns all tuned models to which caller has reader role "readers:everyone" returns all tuned models that are shared with everyone |
Request body
The request body must be empty.
Response body
Response from tunedModels.list
containing a paginated list of Models.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"tunedModels": [
{
object ( |
Fields | |
---|---|
tunedModels[] |
The returned Models. |
nextPageToken |
A token, which can be sent as If this field is omitted, there are no more pages. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/generative-language.tuning
https://www.googleapis.com/auth/generative-language.tuning.readonly
For more information, see the Authentication Overview.