Method: projects.locations.modelMonitors.create

Creates a ModelMonitor.

HTTP request

POST https://{service-endpoint}/v1beta1/{parent}/modelMonitors

Where {service-endpoint} is one of the supported service endpoints.

Path parameters



Required. The resource name of the Location to create the ModelMonitor in. Format: projects/{project}/locations/{location}

Query parameters



Optional. The id to use for the Model Monitor, which will become the final component of the model monitor resource name.

The maximum length is 63 characters, and valid characters are /^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/.

Request body

The request body contains an instance of ModelMonitor.

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • aiplatform.modelMonitors.create

For more information, see the IAM documentation.