PutAnomalyDetectorRequest
Amazon Web ServicesContainersMonitoringObservabilityPrometheus
Properties
| Name | Type | Description |
|---|---|---|
| workspaceId | string | The identifier of the workspace containing the anomaly detector to update. |
| anomalyDetectorId | string | The identifier of the anomaly detector to update. |
| evaluationIntervalInSeconds | integer | The frequency, in seconds, at which the anomaly detector evaluates metrics. |
| missingDataAction | object | |
| configuration | object | |
| labels | object | The Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector. |
| clientToken | string | A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-managed-prometheus/json-schema/amazon-managed-prometheus-put-anomaly-detector-request-schema.json",
"title": "PutAnomalyDetectorRequest",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-managed-prometheus-anomalydetectors-api-openapi.yml#/components/schemas/PutAnomalyDetectorRequest",
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"description": "The identifier of the workspace containing the anomaly detector to update."
},
"anomalyDetectorId": {
"type": "string",
"description": "The identifier of the anomaly detector to update."
},
"evaluationIntervalInSeconds": {
"type": "integer",
"description": "The frequency, in seconds, at which the anomaly detector evaluates metrics."
},
"missingDataAction": {
"$ref": "#/$defs/AnomalyDetectorMissingDataAction"
},
"configuration": {
"$ref": "#/$defs/AnomalyDetectorConfiguration"
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The Amazon Managed Service for Prometheus metric labels to associate with the anomaly detector."
},
"clientToken": {
"type": "string",
"description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the request."
}
},
"required": [
"workspaceId",
"anomalyDetectorId",
"configuration"
],
"$defs": {
"AnomalyDetectorConfiguration": {
"type": "object",
"properties": {
"randomCutForest": {
"$ref": "#/$defs/RandomCutForestConfiguration"
}
},
"description": "Exactly one member is set."
},
"AnomalyDetectorMissingDataAction": {
"type": "object",
"properties": {
"markAsAnomaly": {
"type": "boolean",
"description": "Marks missing data points as anomalies."
},
"skip": {
"type": "boolean",
"description": "Skips evaluation when data is missing."
}
},
"description": "Exactly one member is set."
},
"IgnoreNearExpected": {
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "The absolute amount by which values can differ from expected values before being considered anomalous."
},
"ratio": {
"type": "number",
"description": "The ratio by which values can differ from expected values before being considered anomalous."
}
},
"description": "Exactly one member is set."
},
"RandomCutForestConfiguration": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The Prometheus query used to retrieve the time-series data for anomaly detection. Random Cut Forest queries must be wrapped by a supported PromQL aggregation operator. For more information, see Aggregation operators on the Prometheus docs website. Supported PromQL aggregation operators: avg, count, group, max, min, quantile, stddev, stdvar, and sum."
},
"shingleSize": {
"type": "integer",
"description": "The number of consecutive data points used to create a shingle for the Random Cut Forest algorithm. The default number is 8 consecutive data points."
},
"sampleSize": {
"type": "integer",
"description": "The number of data points sampled from the input stream for the Random Cut Forest algorithm. The default number is 256 consecutive data points."
},
"ignoreNearExpectedFromAbove": {
"$ref": "#/$defs/IgnoreNearExpected"
},
"ignoreNearExpectedFromBelow": {
"$ref": "#/$defs/IgnoreNearExpected"
}
},
"required": [
"query"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-managed-prometheus-put-anomaly-detector-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.