Optional requestFactory: HostsApiRequestFactoryOptional responseProcessor: HostsApiResponseProcessorPrivate configurationPrivate requestPrivate responseThe request object
Optional options: ConfigurationThis endpoint allows searching for hosts by name, alias, or tag.
Hosts live within the past 3 hours are included by default.
Retention is 7 days.
Results are paginated with a max of 1000 results at a time.
Note: If the host is an Amazon EC2 instance, id is replaced with aws_id in the response.
Note: To enrich the data returned by this endpoint with security scans, see the new api/v2/security/scanned-assets-metadata endpoint.
The request object
Optional options: ConfigurationMute a host. Note: This creates a Downtime V2 for the host.
The request object
Optional options: ConfigurationUnmutes a host. This endpoint takes no JSON arguments.
The request object
Optional options: ConfigurationGenerated using TypeDoc
This endpoint returns the total number of active and up hosts in your Datadog account. Active means the host has reported in the past hour, and up means it has reported in the past two hours.