const url = 'https://app.monitorly.cloud/api/v1/projects/PROJECT_ID/config';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.monitorly.cloud/api/v1/projects/PROJECT_ID/config \ --header 'Authorization: Bearer <token>'The project’s checks, status pages and maintenance windows in the shape of monitorly.yaml. A token gets the sections it has a read scope for (checks:read, pages:read, maintenance:read). Resources without a ref get one made from their name.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The project’s id.
Example
PROJECT_IDResponses
Section titled “Responses”The configuration.
The desired state of one project: monitorly.yaml. Every section is optional; an absent section is left
as it is.
object
The JSON Schema of this document, for editors; ignored.
A check as CheckInput (same fields, defaults and rules), keyed by ref; secret headers by name.
object
The check’s own escalation policy (GET /workspaces/{id}/escalation-policies); absent: the project’s.
Required except for heartbeat checks, whose schedule is kind.periodSecs.
object
null is read as absent (only the implicit 2xx/3xx rule).
object
object
object
Header names compare case-insensitively; a missing header is the empty string.
object
One value of a JSON body, selected by a JSONPath singular query ($.data.items[0].status); value
is ignored by exists and not_exists.
object
How a JSON assertion compares the value its path selects.
object
object
object
Every listed value must be in the answer; empty means any answer passes.
Resolver address; absent uses the node’s system resolver.
object
Days before expiry with a warning; default 14, 7 and 1.
object
Days before expiry with a warning; default 30 and 7.
object
A ping is due every period. With schedule it is not read and may be left out; answers always give
it, as the shortest gap between the schedule’s next occurrences.
object
A container that was running stopped with a non-zero exit code, was killed for lack of memory or died, or restarted 3 times within 10 minutes (the node must report Docker). Preset: on.
Any filesystem fuller than abovePercent (df’s “Use%”); a mount of mounts may have its own. Preset:
above 90 %, at once. Clears 2 points below.
object
1–99.
How long the value must stay above; 0: at once. At most 86400.
A disk busy busyPercent of the time with queue requests in flight or more. Off unless set; suggested:
95 % and 10 for 30 minutes.
object
1–100.
1–1000 requests in flight on average.
A filesystem fuller than minUsedPercent that fills within hours at the rate of the last 6 hours.
Preset: within 24 hours, above 60 %, held 1 hour.
object
1–720.
1–99: fuller filesystems only.
Names the rules leave alone, at most 50 per list; * stands for any run of characters (build-*). Sensors
are named <chip>/<label> (coretemp/Core 0) or by their chip alone.
object
Filesystems with their own disk rule, at most 32, each mount once.
One filesystem’s own disk rule: its own threshold, optionally only while less than freeBelowGb is free,
or muted (no disk, inode, forecast or read-only problem for it).
object
1–99; absent: the check’s disk threshold.
1–1000000 GB (10⁹ bytes): only while less than this is free.
An absolute mount path, for example /var/lib/docker.
A notice when the kernel kills a process for lack of memory (at most one per 30 minutes). Preset: on.
A filesystem this check saw writable turned read only. Preset: on.
A temperature sensor at its own limit (its max, else 5 °C under its critical point; one under 40 °C counts
as none), or at or above celsius when it reports no limit. Preset: 90 °C for 10 minutes. Clears 3 °C
below.
object
30–150 °C, for sensors that report no limit of their own.
A notice when a Raspberry Pi reports under-voltage. Preset: on.
A systemd unit the node reports is failed (the node must report systemd). Preset: on.
Node ids (GET /workspaces/{id}/nodes); none for heartbeat checks. null is read as absent.
^[a-z0-9][a-z0-9-]{0,62}$, unique among the project’s checks.
A maintenance window keyed by ref, over checks named by ref.
object
refs of checks of the project.
RFC 3339 instants.
object
ISO weekdays (1 = Monday … 7 = Sunday), local start HH:MM or HH:MM:SS in the window’s zone.
object
IANA zone; the workspace’s when absent.
Delete, in the present sections, resources managed by config that the body no longer lists.
A status page keyed by ref. The website link, accent and logos stay with the project admin in the dashboard
and are not part of the config; the theme is (contract of 2026-11-29), and changing it needs a project admin.
object
In display order; replaces the page’s components. null is read as absent.
object
The ref of a check of the project (in this body or stored).
1–200 characters. Absent or the check’s own name: the component follows the check’s name.
Unique on the page.
^[a-z0-9][a-z0-9-]{1,62}$, unique in the installation.
The hosted page’s theme, as in PATCH /status-pages/{pageId}: absent keeps the stored one, null is the
product’s own look. Changing it needs a project admin (403 otherwise). Exports name it only when set.
object
The colours of the dark scheme; the product’s own when left out.
object
Behind the page.
Lines between rows and around panels.
Secondary text and field edges: at least 3:1 on background and on surface.
Panels, cards and the header.
Text: at least 4.5:1 on background and on surface.
The colours of the light scheme; the product’s own when left out.
object
Behind the page.
Lines between rows and around panels.
Secondary text and field edges: at least 3:1 on background and on surface.
Panels, cards and the header.
Text: at least 4.5:1 on background and on surface.
Up to 5 links in the page header, in this order.
A link in the page header, between the page name and the website link.
object
1–32 characters on one line.
An absolute http or https URL with a host, at most 2048 characters.
Example
{ "checks": [ { "escalationPolicyId": "ESCALATION_POLICY_ID", "kind": { "assertions": [ { "op": "eq", "target": "status" } ], "headers": [ { "secret": "keep" } ], "method": "GET", "type": "http" }, "nodes": [ "ID" ], "quorum": { "mode": "half" } } ], "maintenance": [ { "schedule": { "kind": "once" } } ], "statusPages": [ { "theme": { "font": "system", "layout": "list", "mode": "auto", "radius": "none" } } ]}Bad Request.
auth.credentials_conflict: the request carries both a session cookie and a token
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Unauthorized.
auth.unauthenticated,auth.session_expired: no session, or it endedtoken.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Forbidden.
auth.forbidden: your role is too low for thistoken.scope_missing: the token lacks the scope this needs;detailnames it
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Not Found.
request.not_found: it does not exist, or you cannot see it
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Too Many Requests.
token.rate_limited: more than 10 requests a second with this token
object
Field errors, empty for errors of the whole request.
object
object
JSON pointer into the request body.
Stable code, for example check.timeout_exceeds_interval.
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Headers
Section titled “Headers”Seconds to wait before trying again.