Full name: projects.locations.modelDeploymentMonitoringJobs.searchModelDeploymentMonitoringStatsAnomalies
Searches Model Monitoring Statistics generated within a given time window.
Endpoint
posthttps://{service-endpoint}/v1beta1/{modelDeploymentMonitoringJob}:searchModelDeploymentMonitoringStatsAnomalies
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
modelDeploymentMonitoringJobstring
Required. ModelDeploymentMonitoring Job resource name. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{modelDeploymentMonitoringJob}
Request body
The request body contains data with the following structure:
deployedModelIdstring
Required. The DeployedModel id of the [ModelDeploymentMonitoringObjectiveConfig.deployed_model_id].
featureDisplayNamestring
The feature display name. If specified, only return the stats belonging to this feature. Format: ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name, example: "user_destination".
Required. Objectives of the stats to retrieve.
pageSizeinteger
The standard list page size.
pageTokenstring
A page token received from a previous JobService.SearchModelDeploymentMonitoringStatsAnomalies call.
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 use 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 use 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".
Response body
Response message for JobService.SearchModelDeploymentMonitoringStatsAnomalies.
If successful, the response body contains data with the following structure:
Stats retrieved for requested objectives. There are at most 1000 ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats in the response.
nextPageTokenstring
The page token that can be used by the next JobService.SearchModelDeploymentMonitoringStatsAnomalies call.
| JSON representation |
|---|
{
"monitoringStats": [
{
object ( |
StatsAnomaliesObjective
Stats requested for specific objective.
topFeatureCountinteger
If set, all attribution scores between SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time and SearchModelDeploymentMonitoringStatsAnomaliesRequest.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.
| JSON representation |
|---|
{
"type": enum ( |