The earliest timestamp of stats being generated. If not set, indicates fetching stats till the earliest possible one.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
The latest timestamp of stats being generated. If not set, indicates feching stats till the latest possible one.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
[[["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-06-27 UTC."],[],[],null,["# Method: modelDeploymentMonitoringJobs.searchModelDeploymentMonitoringStatsAnomalies\n\n**Full name**: projects.locations.modelDeploymentMonitoringJobs.searchModelDeploymentMonitoringStatsAnomalies\n\nSearches Model Monitoring Statistics generated within a given time window. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1``/{modelDeploymentMonitoringJob}:searchModelDeploymentMonitoringStatsAnomalies` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`modelDeploymentMonitoringJob` `string` \nRequired. ModelDeploymentMonitoring Job resource name. Format: `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJob}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `deployedModelId` `string` \nRequired. The DeployedModel id of the \\[ModelDeploymentMonitoringObjectiveConfig.deployed_model_id\\].\n`featureDisplayName` `string` \nThe feature display name. If specified, only return the stats belonging to this feature. Format: [ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#FeatureHistoricStatsAnomalies.FIELDS.feature_display_name), example: \"user_destination\".\n`objectives[]` `object (`[StatsAnomaliesObjective](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#StatsAnomaliesObjective)`)` \nRequired. Objectives of the stats to retrieve.\n`pageSize` `integer` \nThe standard list page size.\n`pageToken` `string` \nA page token received from a previous [JobService.SearchModelDeploymentMonitoringStatsAnomalies](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies) call.\n`startTime` `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` \nThe earliest timestamp of stats being generated. If not set, indicates fetching stats till the earliest possible one.\n\nUses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`.\n`endTime` `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` \nThe latest timestamp of stats being generated. If not set, indicates feching stats till the latest possible one.\n\nUses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. \n\n### Response body\n\nResponse message for [JobService.SearchModelDeploymentMonitoringStatsAnomalies](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies).\n\nIf successful, the response body contains data with the following structure:\nFields `monitoringStats[]` `object (`[ModelMonitoringStatsAnomalies](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#ModelMonitoringStatsAnomalies)`)` \nStats retrieved for requested objectives. There are at most 1000 [ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#FeatureHistoricStatsAnomalies.FIELDS.prediction_stats) in the response.\n`nextPageToken` `string` \nThe page token that can be used by the next [JobService.SearchModelDeploymentMonitoringStatsAnomalies](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies) call. \n\nStatsAnomaliesObjective\n-----------------------\n\nStats requested for specific objective.\nFields `type` `enum (`[ModelDeploymentMonitoringObjectiveType](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#ModelDeploymentMonitoringObjectiveType)`)` \n`topFeatureCount` `integer` \nIf set, all attribution scores between [SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#body.request_body.FIELDS.start_time) and [SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#body.request_body.FIELDS.end_time) are fetched, and page token doesn't take effect in this case. Only used to retrieve attribution score for the top Features which has the highest attribution score in the latest monitoring run. \n\nModelDeploymentMonitoringObjectiveType\n--------------------------------------\n\nThe Model Monitoring Objective types.\n\nModelMonitoringStatsAnomalies\n-----------------------------\n\nStatistics and anomalies generated by Model Monitoring.\nFields `objective` `enum (`[ModelDeploymentMonitoringObjectiveType](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#ModelDeploymentMonitoringObjectiveType)`)` \nModel Monitoring Objective those stats and anomalies belonging to.\n`deployedModelId` `string` \nDeployed Model id.\n`anomalyCount` `integer` \nNumber of anomalies within all stats.\n`featureStats[]` `object (`[FeatureHistoricStatsAnomalies](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs/searchModelDeploymentMonitoringStatsAnomalies#FeatureHistoricStatsAnomalies)`)` \nA list of historical Stats and Anomalies generated for all Features. \n\nFeatureHistoricStatsAnomalies\n-----------------------------\n\nHistorical Stats (and Anomalies) for a specific feature.\nFields `featureDisplayName` `string` \nDisplay name of the feature.\n`threshold` `object (`[ThresholdConfig](/vertex-ai/docs/reference/rest/v1/projects.locations.modelDeploymentMonitoringJobs#ThresholdConfig)`)` \nThreshold for anomaly detection.\n`trainingStats` `object (`[FeatureStatsAnomaly](/vertex-ai/docs/reference/rest/v1/projects.locations.featureGroups.features#Feature.FeatureStatsAnomaly)`)` \nStats calculated for the Training Dataset.\n`predictionStats[]` `object (`[FeatureStatsAnomaly](/vertex-ai/docs/reference/rest/v1/projects.locations.featureGroups.features#Feature.FeatureStatsAnomaly)`)` \nA list of historical stats generated by different time window's Prediction Dataset."]]