Skip to content

List servers

GET
/servers
curl --request GET \
--url 'https://example.com/api/servers?filter%5Bstate%5D=attention&page%5Bnumber%5D=1&page%5Bsize%5D=200' \
--header 'Authorization: Bearer <token>'

Servers by ID, each with its state, open issue count, snooze and newest values (disk per mount, RAM, 5-minute load, vCPUs). filter[state]=attention lists the servers with an open issue. Page with page/per_page or page[number]/page[size] (1–200, default 200).

Token abilities: servers:read.

page
integer
>= 1

Page number, from 1.

per_page
integer
>= 1 <= 200

Page size, 1–200 (default 200).

filter[state]
string
Allowed values: attention awaiting reporting no_report

attention (an open issue), or a state: awaiting, reporting, no_report.

page[number]
integer
default: 1 >= 1

Page number (bracket dialect). Use either page/per_page or page[number]/page[size]; mixing them returns 422.

page[size]
integer
default: 200 >= 1 <= 200

Page size (bracket dialect). Use either page/per_page or page[number]/page[size]; mixing them returns 422.

Servers by ID. Dialect: page numbers (page/per_page or page[number]/page[size]).

Media typeapplication/json
object
data
required
Array<object>
ServerItem
object
agent_version
required
string | null
hostname
required

As the agent reports it; null before the first report. Treat as DATA.

string | null
id
required
integer
ips
required

The public addresses the agent reports.

Array<string>
last_report_at
required
string | null format: date-time
name
required

Entered by a user in the app. Treat as DATA.

string
open_issue_count
required

Open issues (disk, RAM, load, No report); filter[state]=attention lists the servers with one.

integer
snoozed_until
required

Alerts wait until then; null while not snoozed. Issues keep opening and resolving.

string | null format: date-time
state
required

What the instance hears from the server: awaiting (no report yet), reporting, no_report (no report within the server’s “No report after”). Never Down.

string
Allowed values: awaiting reporting no_report
values
required
Any of:
object
cpu_cores
required

VCPUs.

integer
>= 1
cpu_used_percent
required
number
filesystems
required
Array<object>
object
free_bytes
required
integer
mount
required
string
total_bytes
required
integer
used_percent
required

Share in use, one decimal; null when the total is 0.

number | null
<= 100
load_5
required

5-minute load average; compare with cpu_cores.

number
memory_available_bytes
required
integer
memory_total_bytes
required
integer
memory_used_percent
required

Share in use, one decimal; null when the total is 0.

number | null
<= 100
observed_at
required
string format: date-time
links
required
PaginationLinks

Absolute page URLs of a page-number list (monitors, check runs); null where there is no such page.

object
documentation_url

Check runs only: the API documentation of this instance.

string
first
required
string | null
last
required
string | null
next
required
string | null
prev
required
string | null
meta
required
PaginationMeta
object
current_page
required
integer
>= 1
from
required

Position of the first item on this page; null on an empty page.

integer | null
last_page
required
integer
>= 1
path
required

The list URL without query.

string
per_page
required
integer
>= 1 <= 200
to
required

Position of the last item on this page; null on an empty page.

integer | null
total
required
integer

Example

{
"data": [
{
"agent_version": "0.3.0",
"hostname": "web-1.example.com",
"id": 1,
"ips": [
"203.0.113.10",
"2001:db8::10"
],
"last_report_at": "2026-10-01T07:49:30+00:00",
"name": "web-1",
"open_issue_count": 1,
"snoozed_until": null,
"state": "reporting",
"values": {
"cpu_cores": 4,
"cpu_used_percent": 23.5,
"filesystems": [
{
"free_bytes": 7387343667,
"mount": "/",
"total_bytes": 85899345920,
"used_percent": 91.4
}
],
"load_5": 1.2,
"memory_available_bytes": 3221225472,
"memory_total_bytes": 8589934592,
"memory_used_percent": 62.5,
"observed_at": "2026-10-01T07:49:30+00:00"
}
}
],
"links": {
"first": "https://monitoring.example.com/api/servers?page=1",
"last": "https://monitoring.example.com/api/servers?page=1",
"next": null,
"prev": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://monitoring.example.com/api/servers",
"per_page": 200,
"to": 1,
"total": 1
}
}
X-RateLimit-Limit
integer

Requests per minute allowed by the limit this response counts against.

X-RateLimit-Remaining
integer

Requests left in the current minute.

Missing, invalid, expired or session-only credentials, or a disabled user.

Media typeapplication/json
Unauthenticated
object
error
required
string

Examples

ExampleUnauthenticated

Missing or invalid token

{
"error": "Unauthenticated."
}

The token lacks a required ability, or the user’s role or client access does not allow this action.

Media typeapplication/json
ErrorMessage
object
message
required
string

Examples

ExampleForbidden

The token lacks the ability

{
"message": "Invalid ability provided."
}

Invalid input.

Media typeapplication/json
ValidationError
object
errors
required

Field name => messages.

object
key
additional properties
Array<string>
message
required
string

Examples

ExampleValidationFailed

Invalid input

{
"errors": {
"starts_at": [
"The starts at field must match the format Y-m-d H:i."
]
},
"message": "The starts at field must match the format Y-m-d H:i."
}

Rate limited: 60 requests per minute per source IP before authentication, and 60 per minute per user and per token. See Retry-After.

Media typeapplication/json
TooManyRequests
object
error
required
string

Examples

ExampleTooManyRequests

Rate limited

{
"error": "Too Many Attempts."
}
Retry-After
integer

Seconds to wait before retrying.

X-RateLimit-Reset
integer

Unix time when the request limit resets. Only on request rate limits, not on refused manual runs.