URL parameters
The unique identifier of the collector.
Headers
Bearer $TOKEN
Returns a list of hosts where the specified collector is running.
URL parameters
The unique identifier of the collector.
Headers
Bearer $TOKEN
Returns the collector's hosts.
Response body
Invalid or missing authentication token.
A collector with the specified ID was not found.
Response attributes
The ID of the host.
Always collector_host.
The hostname the host reported.
The host's status, one of pending, up, degraded, unknown or down, where down means no ping in the last minute or a reported error.
The collector version running on the host, or null before its first ping.
When the host last pinged Better Stack, as an ISO 8601 date-time in UTC, or null before its first ping.
When the host first pinged Better Stack, as an ISO 8601 date-time in UTC, or null before its first ping.
The error the host reported on its last ping, an empty string when there was none, or null before its first ping.
The platform the host reported, docker, swarm or kubernetes, or an empty string before it reports one.
Kernel and eBPF compatibility details the host reported, such as kernel_version, architecture, distribution and ebpf_supported, or an empty object before it reports them.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.