Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. Hostedmodels
  2. Trainedmodels

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.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.