List

GET {{baseUrl}}/servers.json?filter[name]=<string>&filter[host]=<string>&filter[ids]=<string>,<string>&filter[labels]=<string>&filter[reported]=<boolean>&page=<integer>

This API endpoint returns a paginated list of the Servers associated with your New Relic account. The time range for summary data is the last 2 minutes.

Servers can be filtered by their name, hostname, or the list of server IDs.

See our documentation for a discussion and examples of using filters and summary data output.

Request Params

KeyDatatypeRequiredDescription
filter[name]stringFilter by name
filter[host]stringFilter by host
filter[ids]stringFilter by server IDs
filter[labels]stringFilter by server labels (beta)
filter[reported]stringFilter by reported in last 10 hours
pagestringPagination index

RESPONSES

status: OK

{&quot;server&quot;:{&quot;host&quot;:&quot;nulla reprehenderit veniam&quot;,&quot;account_id&quot;:76540804,&quot;health_status&quot;:&quot;irure ullamco sint&quot;,&quot;id&quot;:-49069473,&quot;last_reported_at&quot;:&quot;1986-05-04T17:42:36.264Z&quot;,&quot;links&quot;:{&quot;alert_policy&quot;:19428721},&quot;name&quot;:&quot;deserunt aliqua&quot;,&quot;reporting&quot;:true,&quot;summary&quot;:{&quot;cpu&quot;:1609418.8160360903,&quot;cpu_stolen&quot;:567816.1967925876,&quot;disk_io&quot;:12074931.858166143,&quot;fullest_disk&quot;:90457517.85521886,&quot;fullest_disk_free&quot;:33945233,&quot;memory&quot;:-42641098.40858508,&quot;memory_total&quot;:61998001,&quot;memory_used&quot;:-23214060}}}