v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Hosts

Get the total number of active hosts

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.

get/api/v1/hosts/totals

Query parameters

frominteger

Number of seconds from which you want to get total number of active hosts.

Response

OK

total_activeinteger

Total number of active host (UP and ???) reporting to Datadog.

total_upinteger

Number of host that are UP and reporting to Datadog.