get-hosts
List infrastructure hosts reporting to Datadog with details on names, IPs, apps, agent version, and mute status. Use for visibility during incidents or checking host status.
Instructions
List infrastructure hosts reporting to Datadog. Use for 'show production hosts', 'which hosts are muted', 'hosts running agent version X'. Returns host names, IPs, apps, agent info, and mute status. Essential for infrastructure visibility during incidents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter hosts by name substring | |
| sortField | No | Field to sort by (e.g., 'name', 'apps', 'cpu') | |
| sortDir | No | Sort direction ('asc' or 'desc') | |
| start | No | Starting offset for pagination | |
| count | No | Number of hosts to return (max 1000) | |
| from | No | Unix timestamp to filter hosts seen after | |
| includeMutedHostsData | No | Include mute status and expiry | |
| includeHostsMetadata | No | Include host metadata (agent version, platform) |