This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.
Resource types
Hostedmodels
For Hostedmodels Resource details, see the resource representation page.
Method | HTTP request | Description |
---|---|---|
URIs relative to https://www.googleapis.com/prediction/v1.6/projects, unless otherwise noted | ||
predict |
POST /
project
/hostedmodels/
hostedModelName
/predict
|
Submit input and request an output against a hosted model. |
Trainedmodels
For Trainedmodels Resource details, see the resource representation page.
Method | HTTP request | Description |
---|---|---|
URIs relative to https://www.googleapis.com/prediction/v1.6/projects, unless otherwise noted | ||
analyze |
GET /
project
/trainedmodels/
id
/analyze
|
Get analysis of the model and the data the model was trained on. |
delete |
DELETE /
project
/trainedmodels/
id
|
Delete a trained model. |
get |
GET /
project
/trainedmodels/
id
|
Check training status of your model. |
insert |
POST /
project
/trainedmodels
|
Train a Prediction API model. |
list |
GET /
project
/trainedmodels/list
|
List available models. |
predict |
POST /
project
/trainedmodels/
id
/predict
|
Submit model id and request a prediction. |
update |
PUT /
project
/trainedmodels/
id
|
Add new data to a trained model. |