Anomaly detection API - Hosts

The Anomaly detection—Hosts API enables you to manage the configuration of anomaly detection for hosts. You can:

You can also manage the same configuration in the Dynatrace UI at Settings > Anomaly detection > Infrastructure > Hosts.

GET host anomaly detection configuration

Gets the configuration of anomaly detection for hosts.

The request produces an application/json payload.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/anomalyDetection/hosts
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/anomalyDetection/hosts

PUT host anomaly detection configuration

Updates the configuration of anomaly detection for applications.

The request consumes an application/json payload.

PUT
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/anomalyDetection/hosts
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/anomalyDetection/hosts

POST validate an update

Validates the payload for the PUT host anomaly detection configuration request.

The request consumes an application/json payload.

POST
  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/anomalyDetection/hosts/validator
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/anomalyDetection/hosts/validator