Creates a model. Returns a Model in the response field when it completes. When you create a model, several model evaluations are created for it: a global evaluation, and one evaluation for each annotation spec.
HTTP request
POST https://automl.googleapis.com/v1beta1/{parent}/models
Path parameters
Parameters
parent
string
Resource name of the parent project where the model is being created.
Authorization requires the following Google IAM permission on the specified resource parent:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-30 UTC."],[],[],null,["# Method: projects.locations.models.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nCreates a model. Returns a Model in the [response](/translate/automl/docs/reference/rest/v1beta1/projects.locations.operations#Operation.FIELDS.response) field when it completes. When you create a model, several model evaluations are created for it: a global evaluation, and one evaluation for each annotation spec.\n\n### HTTP request\n\n`POST https://automl.googleapis.com/v1beta1/{parent}/models`\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [Model](/translate/automl/docs/reference/rest/v1beta1/projects.locations.models#Model).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/translate/automl/docs/reference/rest/v1beta1/projects.locations.operations#Operation).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]