Method: projects.models.create

Caution: This is a deprecated version of the Cloud Machine Learning Engine API. Please use the latest Cloud ML Engine API instead.

Creates a model which will later contain one or more versions.

You must add at least one version before you can request predictions from the model. Add versions by calling projects.models.versions.create.

HTTP request


The URL uses Google API HTTP annotation syntax.

Path parameters



Required. The project name.

Authorization: requires Editor role on the specified project.

Request body

The request body contains an instance of Model.

Response body

If successful, the response body contains a newly created instance of Model.


Requires the following OAuth scope:


For more information, see the Auth Guide.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Machine Learning Engine (Cloud ML Engine)