Requires authorization
List available models. Try it now .
Request
HTTP request
GET https://www.googleapis.com/prediction/v1.6/projects/project/trainedmodels/list
Parameters
| Parameter name | Value | Description |
|---|---|---|
| Required parameters | ||
project
|
string
|
The project associated with the model. |
| Optional parameters | ||
maxResults
|
unsigned integer
|
Maximum number of results to return. |
pageToken
|
string
|
Pagination token. |
Authorization
This request requires authorization with at least one of the following scopes ( read more about authentication and authorization ).
| Scope |
|---|
https://www.googleapis.com/auth/prediction
|
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{
"kind": "prediction#list",
"selfLink": string,
"nextPageToken": string,
"items": [
trainedmodels Resource
]
}
| Property name | Value | Description | Notes |
|---|---|---|---|
kind
|
string
|
What kind of resource this is - "
prediction#list
".
|
|
selfLink
|
string
|
A URL to re-request this resource. | |
nextPageToken
|
string
|
Pagination token to fetch the next page, if one exists. | |
items[]
|
list
|
List of models. |
Try it!
Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer .