API reference
Servers
Monitored servers: their state, metrics, processes, services, packages, security findings and the settings the agent reports against.
Its operations need the scopes servers.edit, servers.view, servers.delete, alarms.view, security.policy, security.edit, alarms.edit or security.view.
The Server object
Attributes
- uuidstring
The UUID of the server.
- namestring
The display name when one is set, else the hostname.
- display_namestring or null
Your own label, as set; null when none (
nameis the shown name). - server_profileobject or null
The server profile; null when none.
- uuidstring
The UUID of the server profile.
- namestring
The name of the server profile.
- hostnamestring or null
The hostname the agent reports; null when it has not reported one.
- ip_addressstring or null
The address the agent’s last heartbeat came from: a proxy’s, for a box behind one. The box’s own addresses are
public_ipv4andnetwork_interfaces. - supplier_identifierstring or null
The instance id the cloud supplier gives the server (
i-0abc…), as you recorded it; null when none is set. The server list’ssearchmatches it. - supplier_namestring or null
The cloud supplier’s name, as you recorded it; null when none is set.
- public_ipv4string or null
The box’s own public IPv4 address, from its latest security facts; null until the agent reports one, and when it has none. The server list’s
searchmatches it by prefix. - connectionobject or null
How the agent reaches the API, from the latest system-information scan; null when that is not reported (agents before 1.1.18, or no system information pushed yet): null is never “direct”.
- typestring
directorproxy. - proxy_hoststring or null
The proxy’s host, without credentials; null for a direct connection.
- proxy_portinteger or null
The proxy’s port; null for a direct connection.
- os_typestring or null
The operating system,
linuxorwindows. - os_namestring or null
From the latest system-information scan; null until one is pushed.
- os_versionstring or null
The operating system’s version; null until a system-information scan is pushed.
- kernel_versionstring or null
The kernel version; null until a system-information scan is pushed.
- cpu_modelstring or null
The CPU model; null until a system-information scan is pushed.
- cpu_coresinteger or null
The logical core count; null until the agent reports it, never a guessed 1.
- total_memory_mbinteger or null
The host’s memory in MB; null until the agent reports it.
- booted_atinteger or null
Epoch milliseconds. When the host booted; null when its agent never reported it.
An instant: epoch milliseconds, UTC. - timezonestring or null
The host’s own time zone, as its agent reports it.
- utc_offset_secondsinteger or null
The host’s offset from UTC, in seconds; null when its agent never reported it.
- in_containerboolean or null
Null until an agent that reports it pushes system information.
- health_statusstring
The server’s Operational Health: one of
unknown,healthy,warning,critical. - security_health_statusstring
The server’s Security Health, from the open incidents of its security alarms (vulnerabilities, updates, posture, exposure, compromise indicators, and the freshness of the package list and the posture facts those findings rest on): one of
unknown,healthy,warning,critical.unknownuntil a security alarm has measured the server; a fresh package list or fresh posture facts alone never lift it. - monitoring_health_statusstring
The server’s Monitoring Health, from the open incidents of the alarms that watch WatchTower15’s own collection from the server (the agent’s heartbeat and its listening-ports and system-services collectors): one of
unknown,healthy,warning,critical. - overall_health_statusstring
The worst known of the three healths:
critical, elsewarning, elsehealthy, andunknownonly when all three are. - activeboolean
Whether monitoring is switched on.
- archived_atinteger or null
Epoch milliseconds. When the server was archived; null for a server that is not archived.
An instant: epoch milliseconds, UTC. - notesstring or null
Your own free-text notes about the server, as
PUT /v1/servers/{server_uuid}wrote them; null when none. The list does not carry them. - agentobject
The server’s agent.
- statusstring
One of
active,pending_approval,revoked. - versionstring or null
The agent’s version; null when no agent has reported.
- capabilitiesarray of strings
What the agent can do, as it reported.
- last_seen_atinteger or null
Epoch milliseconds. When the agent last reported; null when it never did.
An instant: epoch milliseconds, UTC. - connectivity_statestring or null
Connected, catching up, delayed, unreachable, rejected, powered off or never seen: an open set.
- disksarray of objects
The server’s disks, as the agent reported them.
- mount_pointstring
The mount point of the disk.
- devicestring or null
The block device; null when not reported.
- filesystem_typestring or null
The filesystem type; null when not reported.
- total_gbnumber or null
The disk’s size in GB; null when not reported.
- used_gbnumber or null
Null with no usage sample, never 0.
- free_gbnumber or null
The free space in GB; null with no usage sample.
- used_percentnumber or null
used / (used + free), what
dfprints; null with no sample. - inodes_used_percentnumber or null
Null for a filesystem that keeps no inode count.
- network_interfacesarray of objects
The server’s network interfaces.
- interface_namestring
The name of the interface.
- ipv4_addressstring or null
The interface’s IPv4 address; null when it has none.
- ipv6_addressstring or null
The interface’s IPv6 address; null when it has none.
- is_upboolean
Whether the interface is up.
- alarm_summaryobject
The count of the server’s alarms by state, over its own alarms and its volumes’, ports’ and units’.
- criticalinteger
Alarms firing at critical, over the server’s own alarms and its volumes’, ports’ and units’.
- warninginteger
Alarms firing at warning.
- okinteger
Alarms that are scored and not firing.
- inactiveinteger
Alarms the evaluator does not score.
- acknowledgedinteger
Of the firing ones, the acknowledged.
- alarm_snoozeobject or null
The alarm snooze holding this server’s alarm notifications, from its own snooze and its profile’s; null when none is live. The alarms keep evaluating while it lasts; see
PUT /v1/servers/{server_uuid}/alarm-snooze.- untilinteger or null
Epoch milliseconds. When the server’s alarm notifications are released: the later of its own snooze’s end and its profile’s.
An instant: epoch milliseconds, UTC. - sourcestring
Which snooze ends later and so sets
until:serverorprofile. - serverobject or null
The server’s own snooze; null when it has none.
- untilinteger or null
Epoch milliseconds. When the server’s own snooze ends.
An instant: epoch milliseconds, UTC. - reasonstring or null
The reason given when it was set; null when none was.
- set_atinteger or null
Epoch milliseconds. When it was last set.
An instant: epoch milliseconds, UTC.
- profileobject or null
The snooze of the server’s profile, which covers the server too; null when the profile has none.
- uuidstring
The UUID of the server profile.
- namestring
The name of the server profile.
- untilinteger or null
Epoch milliseconds. When the profile’s snooze ends.
An instant: epoch milliseconds, UTC. - reasonstring or null
The reason given when it was set; null when none was.
- set_atinteger or null
Epoch milliseconds. When it was last set.
An instant: epoch milliseconds, UTC.
- tagsarray of objects
The tags the server carries.
- uuidstring
The UUID of the tag.
- namestring
The name of the tag.
- groupobject or null
The tag’s group; null only when the group is gone.
- uuidstring
The UUID of the tag group.
- namestring
The name of the tag group.
- console_urlstring
The server’s page in the console.
Update a server
PUT/v1/servers/{server_uuid}
Changes a server’s display name, notes, monitoring switch, tags and server profile; only the fields sent change, and null clears a display name. A new server profile brings its alarm templates, as in the console. os_type is accepted only as null or the stored value. Answers the server as servers.view does. A move to a profile whose indicator policies change this server’s effective rules also needs the security.policy scope; without it the call is refused with 403.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Body parameters
- display_namestring or nullOptional
A label of your own for the server; the hostname stays the agent’s, and null clears the label.
- os_typestring or nullOptional
Accepted only as the stored value or null: the operating system is set by the agent at enrolment.
- notesstring or nullOptional
Free-text notes about the server; null clears them.
- activeboolean or nullOptional
Whether monitoring is switched on.
- tag_uuidsarray of strings or nullOptional
The uuids of the tags the server carries.
- server_profile_uuidstring (uuid) or nullOptional
The server profile, as
/v1/server-profileslists it; the new profile’s alarm templates follow, as in the console.
Returns
200 OK:
The server after the update.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Get a server
GET/v1/servers/{server_uuid}
Returns one server with its latest system information, its disks and network interfaces, its alarm counts and its tags with their groups. Like opening the server’s page in the console, the read adds any default alarm the catalogue gained since the server was enrolled.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List servers
GET/v1/servers
Lists the organisation’s servers. Filter by search text (hostname, name, the instance id, the heartbeat address, the public address or an interface address), operating system, agent status, health, security health, connectivity and tags; archived servers are listed only with archived=true. Sorts by one column. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Query parameters
- searchstring or nullOptional
Only servers whose hostname, display name, heartbeat IP address or supplier identifier contains this text, or whose public IPv4 or a current network interface’s IPv4 address starts with it (
10.0.3.170, or10.0.3.for the range). - os_typestring or nullOptional
Only servers of this operating system:
linuxorwindows.freebsdandotherare accepted and match nothing.Values:linuxwindowsfreebsdother(an open set: new values may be added) - statusarray of strings or nullOptional
Only servers whose agent has one of these statuses:
active,pending_approvalorrevoked. A list: repeat the parameter (status=active&status=pending_approval) or send one value (status=active);status[]=activeis accepted too.Values:activepending_approvalrevoked(an open set: new values may be added) - healtharray of strings or nullOptional
Only servers with one of these health statuses:
unknown,healthy,warningorcritical. A list: repeat the parameter (health=unknown&health=healthy) or send one value (health=unknown);health[]=unknownis accepted too.Values:unknownhealthywarningcritical(an open set: new values may be added) - connectivityarray of strings or nullOptional
Only servers in one of these connectivity states; an open set, so a client renders a value it does not know neutrally. A list: repeat the parameter (
connectivity=connected&connectivity=delayed) or send one value (connectivity=connected);connectivity[]=connectedis accepted too.Values:connecteddelayedunreachablepowered_offnever_seenrejectedcatching_up(an open set: new values may be added) - tag_uuidsarray of strings or nullOptional
Only servers carrying at least one of these tags, as tag UUIDs. A list: repeat the parameter (
tag_uuids=<uuid>&tag_uuids=<uuid>) or send one value (tag_uuids=<uuid>);tag_uuids[]=<uuid>is accepted too. - archivedstring or nullOptional
Absent or false lists the servers that are not archived; true lists the archived ones only (
true,false,1or0).Values:truefalse10(an open set: new values may be added) - sortstring or nullOptional
The column to sort by:
name,hostname,agent_status,last_seenorhealth_status.Values:namehostnameagent_statuslast_seenhealth_status(an open set: new values may be added) - directionstring or nullOptional
The sort direction,
asc(the default) ordesc.Values:ascdesc(an open set: new values may be added) - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - security_healtharray of strings or nullOptional
Only servers with one of these security health statuses (the Security column’s, as each row’s
security_health_statusreads it):unknown,healthy,warningorcritical.healthfilters the Operational health only. A list: repeat the parameter (security_health=unknown&security_health=healthy) or send one value (security_health=unknown);security_health[]=unknownis accepted too.Values:unknownhealthywarningcritical(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the organisation’s servers.
Each item of the page:
- uuidstring
The UUID of the server.
- namestring
The display name when one is set, else the hostname.
- hostnamestring or null
The hostname the agent reports; null when it has not reported one.
- ip_addressstring or null
The address the agent’s last heartbeat came from: a proxy’s, for a box behind one. See the view’s
network_interfacesandpublic_ipv4for the box’s own addresses. - supplier_identifierstring or null
The instance id the cloud supplier gives the server (
i-0abc…), as you recorded it; null when none is set. The search matches it. - supplier_namestring or null
The cloud supplier’s name, as you recorded it; null when none is set.
- os_typestring or null
The operating system,
linuxorwindows. - health_statusstring
The server’s Operational Health: one of
unknown,healthy,warning,critical. - security_health_statusstring
The server’s Security Health, from the open incidents of its security alarms (vulnerabilities, updates, posture, exposure, compromise indicators, and the freshness of the package list and the posture facts those findings rest on): one of
unknown,healthy,warning,critical.unknownuntil a security alarm has measured the server; a fresh package list or fresh posture facts alone never lift it. - monitoring_health_statusstring
The server’s Monitoring Health, from the open incidents of the alarms that watch WatchTower15’s own collection from the server (the agent’s heartbeat and its listening-ports and system-services collectors): one of
unknown,healthy,warning,critical. - overall_health_statusstring
The worst known of the three healths:
critical, elsewarning, elsehealthy, andunknownonly when all three are. - agent_statusstring
One of
active,pending_approval,revoked. - pending_reasonstring or null
Why a
pending_approvalserver waits:approvalorlimit. - connectivity_statestring or null
Connected, catching up, delayed, unreachable, rejected, powered off or never seen: an open set. Null when no agent reports (pending, revoked, no agent, or monitoring off).
- agent_versionstring or null
The version of the agent; null when no agent has reported.
- agent_last_seen_atinteger or null
Epoch milliseconds. When the agent last reported; null when it never did.
An instant: epoch milliseconds, UTC. - activeboolean
Whether monitoring is switched on.
- archived_atinteger or null
Epoch milliseconds. When the server was archived; null for a server that is not archived.
An instant: epoch milliseconds, UTC. - alarm_snoozed_untilinteger or null
Epoch milliseconds. When a live alarm snooze on the server, its own or its profile’s, whichever ends later, releases its alarm notifications; null when none is live.
GET /v1/servers/{server_uuid}names both snoozes.An instant: epoch milliseconds, UTC. - tagsarray of objects
The tags the server carries.
- uuidstring
The UUID of the tag.
- namestring
The name of the tag.
- console_urlstring
The server’s page in the console.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Delete a server
DELETE/v1/servers/{server_uuid}
Deletes a server together with what hangs from it (volumes, ports, units and their alarms). Refuses with an error when something blocks the delete. Answers with no body.
Needs the scope servers.delete.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
204 No Content:
The server was deleted; there is no body.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's alarms
GET/v1/servers/{server_uuid}/alarms
Lists the alarms of the server and of its volumes, ports and systemd units in one call, with each alarm’s thresholds, live state, resource and the policies it notifies. Filter by entity_type (the server itself or one kind of child), rule_slug (one or more), active and state. Alarms that a profile left deleted are not listed. For one resource’s alarms use GET /v1/alarms; for every alarm of the organisation, GET /v1/organisation/alarms. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope alarms.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- entity_typestring or nullOptional
Only alarms on this kind of resource:
serverfor the server itself,server_volume,server_portorserver_system_servicefor a volume, a port or a systemd unit; every kind when omitted.Values:serverserver_volumeserver_portserver_system_service(an open set: new values may be added) - rule_slugarray of strings or nullOptional
Only alarms on these catalogue rules, by
rule_slug; every rule when omitted. A bare value is read as a one-item list. A list: repeat the parameter (rule_slug=<value>&rule_slug=<value>) or send one value (rule_slug=<value>);rule_slug[]=<value>is accepted too. - activestring or nullOptional
Only alarms that are switched on (
true) or off (false); both when omitted.Values:truefalse10(an open set: new values may be added) - statestring or nullOptional
Only alarms in this live state:
ok,warning,criticalorinactive; every state when omitted.Values:okwarningcriticalinactive(an open set: new values may be added) - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s alarms.
Each item of the page:
- uuidstring
The alarm’s uuid.
- namestring
The alarm’s own name, else its rule’s.
- rule_slugstring
The catalogue rule’s slug.
- classificationstring
The catalogue rule’s classification: one of
operations,security,monitoring. On a server it decides which of the server’s three healths an open incident moves; the other resources keep one health that counts every classification. - metric_namestring
The catalogue rule’s name.
- descriptionstring or null
The catalogue rule’s description; null when it has none.
- alarm_typestring or null
booleanorthreshold, as the catalogue rule says. - unitstring or null
The unit of the thresholds; null when the rule has none.
- comparison_operatorstring
How a reading is compared with the thresholds: the alarm’s own operator, else the rule’s default.
- aggregationstring or null
How the readings in a window are combined before the comparison; null when the alarm sets none.
- warning_thresholdnumber or null
The alarm’s own value, else the rule’s default.
- critical_thresholdnumber or null
The alarm’s own value, else the rule’s default.
- warning_window_minutesinteger or null
The window, in minutes, the warning threshold is judged over; null when the alarm has none.
- critical_window_minutesinteger or null
The window, in minutes, the critical threshold is judged over; null when the alarm has none.
- warning_consecutive_failures_countinteger
Consecutive evaluations before a warning: the alarm’s own count, else the rule’s default.
- critical_consecutive_failures_countinteger
Consecutive evaluations before a critical: the alarm’s own count, else the rule’s default.
- self_resolvingboolean
Whether the alarm clears itself when the condition ends (it sends no resolve notification).
- activeboolean
Whether the alarm is switched on.
- notify_on_acknowledgeboolean
Whether acknowledging an incident of this alarm notifies: the alarm’s own flag, else the catalogue’s. Never null.
- notify_on_resolveboolean
Whether resolving an incident of this alarm notifies: the alarm’s own flag, else the catalogue’s. Never null.
- entityobject
The resource the alarm is on, of any type that has alarms.
- typestring
The type of the resource, such as
server. - uuidstring or null
The uuid of the resource; null when it no longer resolves.
- namestring or null
The name of the resource; null when it no longer resolves.
- parent_entityobject or null
The server of a volume, port or unit; null for every other resource.
- typestring
The type of the server, such as
server. - uuidstring
The uuid of the server.
- alarm_policiesarray of objects
The policies the alarm notifies. A caller holding
policies.view(the key’s scope and the user’s permission) gets each policy’sname; without it, the uuid alone.- uuidstring
The policy’s uuid.
- namestring
The policy’s name; present only for a caller holding
policies.view.
- statestring
One of
ok,warning,critical,inactive.Values:criticalwarningokinactive(an open set: new values may be added) - inactive_reasonstring or null
switched_offorresource_inactivewhilestateisinactive; null otherwise. - state_sinceinteger or null
Epoch milliseconds: when the open incident was triggered, while
stateiswarningorcritical; null otherwise.An instant: epoch milliseconds, UTC. - acknowledgedboolean
Whether the open incident has been acknowledged.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Approve a server
POST/v1/servers/{server_uuid}/approve
Approves a server whose agent waits in pending_approval, so it starts reporting as an active server. Counts against the organisation’s server limit. Answers the server as servers.view does.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server after the approval.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Archive a server
POST/v1/servers/{server_uuid}/archive
Archives an active server: its open incidents are resolved silently and monitoring stops, and it leaves the default server list (list it with archived=true). servers.reactivate brings it back.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server after it was archived.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Clear a server's indicator policy
DELETE/v1/servers/{server_uuid}/indicator-policies/{indicator}
Removes the policy of one rule on this server, so the rule reads its defaults (or its profile’s). Needs the security.policy scope.
Needs the scope security.policy.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- indicatorstringRequired
The rule:
exe_world_writableortmp_executable.Values:exe_world_writabletmp_executable(an open set: new values may be added)
Returns
204 No Content:
The policy was cleared; the answer has no body.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Get a container
GET/v1/servers/{server_uuid}/containers/{container_uuid}
Returns one container of a server, with its inventory state and its open findings by source and level. Its findings are listed by servers.securityFindings with container_uuid.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- container_uuidstring (uuid)Required
The UUID of the container.
Returns
200 OK:
The container.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's containers
GET/v1/servers/{server_uuid}/containers
Lists the containers running on one server, as its agent last reported them: runtime, image, inventory state and open findings by level. Gone containers are listed with state=gone until they are pruned. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- statearray of strings or nullOptional
Only containers in one of these states:
runningorgone. Absent lists the running containers only. A gone container stays listed until it is pruned: 30 days after it went, or 24 hours after when the agent never read its packages. An archived or paused server sends no running set, so its containers are listed as last reported,runninguntil a new report says otherwise. A list: repeat the parameter (state=running&state=gone) or send one value (state=running);state[]=runningis accepted too.Values:runninggone(an open set: new values may be added) - runtimearray of strings or nullOptional
Only containers of one of these runtimes:
docker,podman,containerd,cri-oorunknown. A list: repeat the parameter (runtime=docker&runtime=podman) or send one value (runtime=docker);runtime[]=dockeris accepted too.Values:dockerpodmancontainerdcri-ounknown(an open set: new values may be added) - inventory_statusarray of strings or nullOptional
Only containers whose inventory has one of these states:
ok,failed,unsupportedorpending(no inventory reported yet). A list: repeat the parameter (inventory_status=ok&inventory_status=failed) or send one value (inventory_status=ok);inventory_status[]=okis accepted too.Values:okfailedunsupportedpending(an open set: new values may be added) - searchstring or nullOptional
Only containers whose image name contains this text, case does not matter; at most 128 characters.
- image_digeststring or nullOptional
Only containers of this image digest:
sha256:and 64 lowercase hexadecimal characters. - sortstring or nullOptional
The column to sort by:
image_ref(the default),started_at,last_seenorfindings(open critical findings first, then warning, then info).Values:image_refstarted_atlast_seenfindings(an open set: new values may be added) - directionstring or nullOptional
The sort direction,
asc(the default) ordesc.Values:ascdesc(an open set: new values may be added) - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s containers.
Each item of the page:
- uuidstring
The UUID of the container.
- runtimestring
The container runtime:
docker,podman,containerd,cri-oorunknown. - container_idstring
The runtime’s own id of the container (a hexadecimal string), never a WatchTower15 id.
- image_refstring or null
The image the container runs, as the runtime names it; null when the agent could not read it. It comes from the host, so treat it as untrusted text.
- image_digeststring or null
The image’s digest,
sha256:and 64 hexadecimal characters; null when the agent could not read it. - statestring
running, orgoneonce the agent no longer lists the container. - started_atinteger or null
Epoch milliseconds. When the container started; null when the agent did not read it.
An instant: epoch milliseconds, UTC. - first_seen_atinteger
Epoch milliseconds. When the agent first listed the container.
An instant: epoch milliseconds, UTC. - last_seen_atinteger
Epoch milliseconds. When the agent last listed the container.
An instant: epoch milliseconds, UTC. - gone_atinteger or null
Epoch milliseconds. When the container was last missing from the agent’s list; null while it runs.
An instant: epoch milliseconds, UTC. - inventoryobject
The container’s inventory: what the agent read inside it.
- statusstring
The inventory’s state.
- reasonstring or null
Why the inventory is
failedorunsupported. - reported_atinteger or null
Epoch milliseconds. When the agent last reported the inventory.
An instant: epoch milliseconds, UTC. - matched_atinteger or null
Epoch milliseconds. When the packages were last matched against known vulnerabilities.
An instant: epoch milliseconds, UTC.
- findingsobject
The container’s open vulnerability findings, by level.
- openinteger
The open findings.
- criticalinteger
Open findings at the critical level.
- warninginteger
Open findings at the warning level.
- infointeger
Open findings at the info level.
- kevinteger
Open findings that are known exploited vulnerabilities.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
View a volume's disk usage report
GET/v1/servers/{server_uuid}/volumes/{volume_uuid}/disk-report
The volume’s latest disk usage report: the biggest directories, the largest and most recently changed files, and quick checks for Docker, the journal, package caches, old kernels and deleted files still held open. A report is made daily, when the volume is first seen and when a disk alarm opens; nothing here starts one. The snapshot is null until a walk has stored one.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- volume_uuidstring (uuid)Required
The UUID of the volume.
Returns
200 OK:
The volume’s disk usage report.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Dismiss a security finding
POST/v1/servers/{server_uuid}/security-findings/{finding_uuid}/dismiss
Dismisses one finding of this server only (a vulnerability, a posture check or an open compromise indicator), with a reason and an optional day on which the dismissal is reviewed. A dismissed finding stays listed with dismissed true and its dismissal recorded.
Needs the scope security.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- finding_uuidstring (uuid)Required
The UUID of the security finding, which must belong to the server.
Body parameters
- reasonstringRequired
Why the finding is dismissed.
- review_onstring (date) or nullOptional
The day the dismissal is reviewed,
YYYY-MM-DD, after today and within two years.
Returns
200 OK:
The finding after it was dismissed.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
End a server's alarm snooze
DELETE/v1/servers/{server_uuid}/alarm-snooze
Ends the server’s own alarm snooze early, so held notifications are released by the next sweep (up to a minute), as described for PUT. The call is safe to repeat: it answers 204 also when the server had no live snooze, since the end state is what you asked for. A snooze on the server’s profile is not ended by this call and still holds the server’s notifications; end it on the profile. Needs the alarms.edit scope.
Needs the scope alarms.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
204 No Content:
The snooze was ended, or there was none; the answer has no body.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Forget a closed port
POST/v1/servers/{server_uuid}/ports/{port_uuid}/forget
Forgets a port that is closed: a port that is tracked or was seen before is retired, an ephemeral one that was never tracked is removed. The open incidents of the port’s alarms are resolved silently.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- port_uuidstring (uuid)Required
The UUID of the port.
Returns
200 OK:
What the forget did: the port’s uuid, when it was retired, whether it was removed and how many incidents were resolved.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's incidents
GET/v1/servers/{server_uuid}/incidents
Lists the incidents of the server and of its volumes, ports and units, by when they were triggered, newest first unless direction says otherwise. Filter by status and by a time window; an incident is listed when it was open at any point inside the window. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- statusarray of strings or nullOptional
Only incidents in these statuses:
open,acknowledgedorresolved; every status when omitted. A bare value is read as a one-item list. A list: repeat the parameter (status=open&status=acknowledged) or send one value (status=open);status[]=openis accepted too.Values:openacknowledgedresolved(an open set: new values may be added) - directionstring or nullOptional
The order by when the incident was triggered:
desc(the default) is the newest first,ascthe oldest.Values:ascdesc(an open set: new values may be added) - periodstring or nullOptional
A relative window ending now: 1 to 9999 minutes, hours, days or weeks (
3h,2w). Not withfromandto. The operation names its longest window and its default. - fromstring or nullOptional
The start of a pinned window, epoch milliseconds or RFC 3339 with an offset. Needs
to. A start before the oldest data kept is served from it. - tostring or nullOptional
The end of a pinned window, epoch milliseconds or RFC 3339 with an offset, after
from. A window that ends before the oldest data kept, or in the future, is refused. - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - rule_slugarray of strings or nullOptional
Only incidents of alarms on these catalogue rules, by
rule_slug; every rule when omitted. A bare value is read as a one-item list. An incident of an alarm that was since deleted is still listed. A list: repeat the parameter (rule_slug=<value>&rule_slug=<value>) or send one value (rule_slug=<value>);rule_slug[]=<value>is accepted too. - severityarray of strings or nullOptional
Only incidents of these severities:
warningorcritical; every severity when omitted. A bare value is read as a one-item list. A list: repeat the parameter (severity=warning&severity=critical) or send one value (severity=warning);severity[]=warningis accepted too.Values:warningcritical(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s incidents.
Each item of the page:
- uuidstring
The UUID of the incident.
- statusstring
One of
open,acknowledged,resolved. - severitystring
One of
warning,critical. - messagestring
The incident’s message.
- rule_namestring
The alarm’s own name, which tells apart two alarms on one metric.
- rule_slugany
The slug of the catalogue rule behind the alarm; null when none.
- alarm_uuidstring or null
The uuid of the alarm that raised the incident; null when the alarm no longer resolves. The alarm may since have been deleted:
GET /v1/alarms/{alarm_uuid}then answers 404. - metric_nameany
The name of the metric the alarm watches; null when none.
- scan_typeany
The kind of scan the alarm reads; null when none.
- entityobject
The resource the incident is about: the server, or one of its volumes, ports or units.
- typeany
The kind of resource: the server, or one of its volumes, ports or units.
- uuidany
The UUID of the resource.
- nameany
The name of the resource.
- parent_entityobject or null
The server of a volume, port or unit; null for every other entity.
- typestring
The kind of the server the resource belongs to.
- uuidstring
The UUID of the server the resource belongs to.
- triggered_atinteger or null
Epoch milliseconds. When the incident was triggered.
An instant: epoch milliseconds, UTC. - acknowledged_atinteger or null
Epoch milliseconds. When the incident was acknowledged; null while it is not.
An instant: epoch milliseconds, UTC. - acknowledged_byobject or null
Who acknowledged the incident; null while it is not acknowledged.
- namestring or null
The display name of the person.
- resolved_atinteger or null
Epoch milliseconds. When the incident was resolved; null while it is open or acknowledged.
An instant: epoch milliseconds, UTC. - resolved_byobject or null
Who resolved the incident; null while it is not resolved or when the system resolved it.
- namestring or null
The display name of the person.
- resolved_by_systemboolean
Whether the system resolved it (the condition cleared), not a person.
- console_urlstring
The incident’s page in the console.
- notificationsarray of objects
The notifications sent for the incident, one for each channel.
- channelstring
The channel it went out on, such as
emailorslack: an open set. - statusstring
How it went:
sent,failed,skippedorqueued, as the notifier records it; an open set. - sent_atinteger or null
Epoch milliseconds. When the notification was sent; null when it was not sent.
An instant: epoch milliseconds, UTC.
- unit_stateobject or null
The state of the systemd unit when the incident opened, so what it was doing is known after it recovers; null for an incident on anything else and for one opened before this was recorded.
- active_statestring or null
systemd’s
ActiveStateof the unit when the incident opened. - sub_statestring or null
systemd’s
SubStateof the unit when the incident opened. - resultstring or null
systemd’s
Resultof the unit when the incident opened; null when it was not reported (the unit was active or had not run). - exit_codeinteger or null
The unit’s exit status when the incident opened (systemd’s
ExecMainStatus, or the signal number whenresultissignalorcore-dump); null when not reported. - state_changed_atinteger or null
Epoch milliseconds. When the unit’s state last changed, as it stood when the incident opened; null when not known.
An instant: epoch milliseconds, UTC. - active_entered_atinteger or null
Epoch milliseconds. When the unit last entered
active, as it stood when the incident opened; null when it has not since it was loaded.An instant: epoch milliseconds, UTC. - inventory_atinteger or null
Epoch milliseconds. When the agent reported the inventory this state was read from, at most one system-info interval before the incident opened.
An instant: epoch milliseconds, UTC.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Read a server's indicator policies
GET/v1/servers/{server_uuid}/indicator-policies
Reads the policy of the two temporary-execution rules (exe_world_writable, tmp_executable) of this server: the effective policy, the server’s own and its profile’s.
Needs the scope security.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The policy of each rule.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Get a server's current state
GET/v1/servers/{server_uuid}/latest
Returns where a server stands now: its health, when its agent was last seen and when the host booted, its alarm counts and the newest telemetry sample of the last 15 minutes, or null when the agent sent nothing in that time. Fails with a 503 when the metric store does not answer.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server’s current state.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Get a server's metric series
GET/v1/servers/{server_uuid}/metrics
Returns the series of one metric family of a server over a time window, in one shape for every family: each series has its name, unit, labels and [t, value] points, with t in epoch milliseconds. A series the server does not report is absent, never zero. The window defaults to one day and is at most 31 days; the disk and network families keep 30 days of detail, and a window that starts earlier is shortened, which the answer’s window.from shows. Fails with a 503 when the metric store does not answer.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- familystringRequired
The metric family to read:
cpu,memory,load,disk,network,tcp,saturationorkernel_limits.Values:cpumemoryloaddisknetworktcpsaturationkernel_limits(an open set: new values may be added) - periodstring or nullOptional
A relative window ending now: 1 to 9999 minutes, hours, days or weeks (
3h,2w). Not withfromandto. The operation names its longest window and its default. - fromstring or nullOptional
The start of a pinned window, epoch milliseconds or RFC 3339 with an offset. Needs
to. A start before the oldest data kept is served from it. - tostring or nullOptional
The end of a pinned window, epoch milliseconds or RFC 3339 with an offset, after
from. A window that ends before the oldest data kept, or in the future, is refused.
Returns
200 OK:
One family’s series for the window.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Get a server's OS updates
GET/v1/servers/{server_uuid}/os-updates
Returns what is waiting to be installed on one server: the updates its own package manager sees (host), and for a server locked to an Amazon Linux 2023 release the updates it would have at the latest release (at_latest), each with its security count and the five severities, the release lock, the running and newest kernel, whether a reboot is needed, how fresh the report is, and whether and when a recheck is available (recheck). A server that has not reported answers not_reported. Package names are not listed here: see servers.osUpdatesPackages.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server’s OS-updates summary.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's pending OS update packages
GET/v1/servers/{server_uuid}/os-updates/packages
Lists the packages waiting to be installed on one server, security updates first, with their installed and available versions and their advisories. scope=host (the default) is what the host’s own package manager sees inside its locked release; scope=latest is what a server locked to an Amazon Linux 2023 release would install at the latest release, each package with every advisory that names it and the CVE ids Amazon lists. meta states how many updates are pending in the scope, whether the stored list was cut at 500 packages and, on latest, the Amazon Linux 2023 release the list was matched against; every latest row comes from Amazon’s core repository, amazonlinux. Package names are the host’s attack map, so this needs security.view. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope security.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- scopestring or nullOptional
Which list:
host(the default) is what the host’s own package manager sees inside its locked release,latestwhat a server locked to an Amazon Linux 2023 release would install at the latest release (empty for any other server).Values:hostlatest(an open set: new values may be added) - security_onlystring or nullOptional
Only the security updates (
true,false,1or0).Values:truefalse10(an open set: new values may be added) - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s pending packages.
Each item of the page:
- namestring
The package name.
- archstring
The architecture, such as
x86_64ornoarch. - current_versionstring
The version on the host now.
- available_versionstring
The version that would be installed: the host’s candidate, or the latest release’s.
- repositorystring or null
The repository the package comes from: on
host, the one the host’s package manager offers it from; onlatest, alwaysamazonlinux, because the latest-release list is read from Amazon’s AL2023 core repository, so nolatestrow comes from a third-party repository. - securityboolean
Whether it is a security update.
- severitystring or null
One of
critical,important,moderate,low,unknownfor a security update (unknownwhen its advisory carries none of the four); null when it is not a security update. - vendor_severitystring or null
The vendor’s own word for the severity; null when it gave none.
- advisorystring or null
The id of the worst advisory that names the package; null when none does.
- advisoriesarray of objects
latestonly: every advisory that names the package at a version newer than installed and not newer than the available one, worst severity first, then the id descending, at most 16;cve_idsare at most 32 CVE ids from Amazon’s metadata andcve_ids_truncatedsays more exist, andseverityis one ofcritical,important,moderate,low,unknown. Never null: it is empty onhost, and empty when none is known, so alatestrow withadvisoryset andadvisoriesempty was matched before the advisories were kept, and has them after the next hourly match (about an hour for anaarch64server, about two for anx86_64one).- idstring
The advisory’s id, such as
ALAS2023-2025-1180. - severitystring
One of
critical,important,moderate,low,unknown: the advisory’s severity. - cve_idsarray of strings
The CVE ids the advisory fixes, at most 32.
- cve_ids_truncatedboolean
Whether the advisory names more than 32 CVE ids.
- advisories_truncatedboolean or null
latestonly: whether more than 16 advisories name the package. Null onhost. - only_at_latestboolean or null
latestonly: true when the host’s own list has no package of this name and architecture (it is only at the latest release); null onhost, and null when the host’s list is truncated, since a package past its cut would read true.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's ports
GET/v1/servers/{server_uuid}/ports
Lists the ports the server’s agent reports, the open ones first. Retired ports are included only with include_retired=true. meta states when the agent last reported a complete port list and whether the cap on charted ports is full. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- include_retiredstring or nullOptional
Whether retired ports are listed too (
true,false,1or0), so “how long was this port open” stays answerable for every port ever seen.Values:truefalse10(an open set: new values may be added) - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s ports.
Each item of the page:
- uuidstring
The UUID of the port.
- portinteger
The port number.
- protocolstring
One of
tcp,udp. - bind_scopestring
any,loopbackorspecific; the addresses only forspecific. - addressesarray of strings
The bound addresses of a
specificbind; empty for any other (never null: a nullable array is not a type the spec validator reads). - process_namestring or null
The owner’s kernel
comm, never a command line. - is_openboolean
Whether the port is listening now.
- statestring
openorclosed. - opened_atinteger or null
Epoch milliseconds. When the port was last seen opening; null when not known.
An instant: epoch milliseconds, UTC. - closed_atinteger or null
Epoch milliseconds. When the port was last seen closing; null while it is open.
An instant: epoch milliseconds, UTC. - first_seen_atinteger or null
Epoch milliseconds. When the agent first reported the port.
An instant: epoch milliseconds, UTC. - trackedboolean
Whether a user asked for this ephemeral port to be tracked.
- expectedboolean
Whether the port is marked as expected to be open.
- chartedboolean
Whether the port has a series, alarms and a history: not ephemeral, or ephemeral and tracked.
- health_statusstring
One of
unknown,healthy,warning,critical. - retired_atinteger or null
Epoch milliseconds. When the port was retired; null while it is not retired.
An instant: epoch milliseconds, UTC.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's top processes
GET/v1/servers/{server_uuid}/processes
Lists the server’s process groups ranked by memory or by CPU, highest first. The agent’s roll-up of every process it did not send is not a row: it is meta.other, null when the server has none. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- sort_bystring or nullOptional
What the processes are ranked by:
memoryorcpu.Values:memorycpu(an open set: new values may be added) - limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s process groups.
Each item of the page:
- process_namestring
The executable name.
- ownerstring
The owner; empty when the agent did not send one.
- cpu_percentnumber or null
The CPU the group uses, as a percentage.
- memory_mbnumber or null
The memory the group holds, in MB.
- process_countinteger or null
How many processes the group has.
- open_files_percentnumber or null
The group’s worst process’s open files against its own limit; null where the agent sends none.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Provision a server
POST/v1/servers/{server_uuid}/provision
Withdrawn: refused with a 422 invalid_request that changes nothing. A server gets a new token by enrolling again with the organisation’s install token. The operation will be removed at the next major release of the SDKs.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Body parameters
- channelstring or nullOptional
The agent channel the enrolment token is for.
Values:stablebeta(an open set: new values may be added)
Returns
200 OK:
The server’s enrolment receipt.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Reactivate a server
POST/v1/servers/{server_uuid}/reactivate
Brings an archived server back to monitoring. Refuses when the organisation is at its server limit or its payment is blocked, or when the server’s agent is no longer active. Answers the server as servers.view does.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server after it was reactivated.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Recheck a server's OS updates
POST/v1/servers/{server_uuid}/os-updates/recheck
Asks the server’s agent to read its pending updates and its package inventory now, instead of at the next scheduled check, so a patched server’s answer becomes current within minutes. The agent reads what the host’s package manager left; it never runs it. The call returns at once with the recheck’s uuid, and servers.osUpdates shows its progress in recheck.last: once it is completed a report arrived, and the counts are current only when the summary’s status is ok. It is refused for a Windows server, a container, an agent that needs updating, an inactive server, while a recheck is waiting and when asked again within 10 minutes; read recheck.state first to know.
Needs the scope security.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
202 Accepted:
The request was accepted; the recheck’s task is returned and the agent reads the host.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Recheck a server's security posture
POST/v1/servers/{server_uuid}/security-posture/recheck
Asks the server’s agent to run its security-posture checks again, like the console’s Check now. The check itself runs on the agent, so the call returns at once with the server and the results follow later; it is refused for a container, while a check is pending and when asked again within a few minutes.
Needs the scope security.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
202 Accepted:
The request was accepted; the server is returned and the agent runs the check.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Restore a security finding
POST/v1/servers/{server_uuid}/security-findings/{finding_uuid}/restore
Lifts the dismissal of a finding so it counts again. Answers the finding after the change.
Needs the scope security.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- finding_uuidstring (uuid)Required
The UUID of the security finding, which must belong to the server.
Returns
200 OK:
The finding after it was restored.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Revoke a server's agent
POST/v1/servers/{server_uuid}/revoke
Revokes the agent of a server: its token stops working and it is cut off. Answers the server as servers.view does.
Needs the scope servers.delete.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server after its agent was revoked.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Rotate a server's enrolment token
POST/v1/servers/{server_uuid}/rotate-token
Withdrawn: refused with a 422 invalid_request that changes nothing. A server gets a new token by enrolling again with the organisation’s install token. The operation will be removed at the next major release of the SDKs.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Returns
200 OK:
The server’s new enrolment receipt.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Get a security finding
GET/v1/servers/{server_uuid}/security-findings/{finding_uuid}
Returns one finding of a server, a vulnerability, a posture check or a compromise indicator, with its dismissal, its history and the fields of its kind.
Needs the scope security.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- finding_uuidstring (uuid)Required
The UUID of the security finding, which must belong to the server.
Returns
200 OK:
The finding.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's security findings
GET/v1/servers/{server_uuid}/security-findings
Lists the findings of one server: its vulnerabilities first, then its posture checks, then its compromise indicators, in every status. Filter by kind, by KEV, by level (severity), by status, by vulnerability id or by package; a row is the summary of a finding, and servers.securityFinding returns the whole. Each finding says where it was found (location: the host or a container) and what was matched (source). Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope security.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- kindstring or nullOptional
Only findings of this kind.
Values:vulnerabilitypostureindicator(an open set: new values may be added) - kevstring or nullOptional
Only findings that are in the CISA Known Exploited Vulnerabilities catalogue (
true) or are not (false).trueleaves out posture checks and compromise indicators, which are never in it.Values:truefalse10(an open set: new values may be added) - severityarray of strings or nullOptional
Only findings of these levels, as the list shows them:
critical,warningorinfo. Repeat the parameter for several. A vulnerability’s level follows KEV and the vendor severity: KEV or vendorcriticaliscritical, vendorhighormediumiswarning, the restinfo. A list: repeat the parameter (severity=critical&severity=warning) or send one value (severity=critical);severity[]=criticalis accepted too.Values:criticalwarninginfo(an open set: new values may be added) - statusarray of strings or nullOptional
Only findings with these statuses, as the list shows them:
open,dismissedorresolvedfor a vulnerability or a compromise indicator,pass,fail,not_applicableornot_measuredfor a posture check. Repeat the parameter for several; a status only one kind has leaves the other kinds out. A list: repeat the parameter (status=open&status=dismissed) or send one value (status=open);status[]=openis accepted too.Values:opendismissedresolvedpassfailnot_applicablenot_measured(an open set: new values may be added) - vulnerability_idstring or nullOptional
Only the vulnerability with this id, for example
CVE-2024-3094; case does not matter. Leaves out posture checks and compromise indicators. - packagestring or nullOptional
Only vulnerabilities of this package, by its exact name. Leaves out posture checks and compromise indicators.
- limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - locationstring or nullOptional
Only findings found
hostor in acontainer.containerleaves out posture checks and compromise indicators, which are always the host’s; it keeps the findings of a container that is no longer on record.Values:hostcontainer(an open set: new values may be added) - container_uuidstring (uuid) or nullOptional
Only the vulnerability findings of this container of the server; it leaves out the other kinds. A container that is not on this server answers 404
not_found. - sourcearray of strings or nullOptional
Only vulnerability findings matched from one of these sources:
os_package,runtime(a language runtime) orlibrary(a language dependency); it leaves out the other kinds. A list: repeat the parameter (source=os_package&source=runtime) or send one value (source=os_package);source[]=os_packageis accepted too.Values:os_packageruntimelibrary(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s security findings.
Each item of the page:
- kindstring
One of
vulnerability,posture,indicator. - uuidstring
The UUID of the finding.
- titlestring
The vulnerability id for a vulnerability, the check’s title for a posture check, the indicator’s title for a compromise indicator.
- packagenull
The package of a vulnerability; null for the other kinds.
- keystring
The key of a posture check or of a compromise indicator; null for a vulnerability.
- severitystring
The finding’s level as the list shows it: one of
critical,warningorinfo. For a vulnerability, KEV or vendorcriticaliscritical, vendorhighormediumiswarning, the restinfo. - statusstring
open,dismissedorresolvedfor a vulnerability or a compromise indicator;pass,fail,not_applicableornot_measuredfor a posture check. - dismissedboolean
Whether the finding is dismissed.
- kevboolean
Whether the vulnerability is in the CISA Known Exploited Vulnerabilities catalogue; false for the other kinds.
- kev_idsarray of strings
The CVE ids of the vulnerability that are in the CISA Known Exploited Vulnerabilities catalogue, the first 16 stored, in stored order (an ALAS, GHSA or USN finding’s
titlehides them);[]when none is, and for the other kinds. The single-finding read has the full list. - kev_ids_truncatedboolean
Whether more than 16 known-exploited CVE ids are stored; false for the other kinds.
- epssnumber or null
The vulnerability’s EPSS score, from 0 to 1; null when it has none and for the other kinds.
- fix_statestring or null
Whether a fix exists:
fixed,not_fixed,wont_fixorunknownfor a vulnerability; null for the other kinds. - fixed_versionstring or null
The version that fixes the vulnerability, when there is one; null for the other kinds.
- locationobject
Where the finding was found.
- kindstring
host, orcontainerfor a vulnerability found in a container. - container_uuidstring or null
The container’s uuid; null on the host, and when the container is no longer on record.
- image_refstring or null
The container’s image; null on the host, when not known, or when the container is no longer on record.
- sourcestring or null
What was matched, for a vulnerability:
os_package,runtime(a language runtime) orlibrary(a language dependency); null for the other kinds.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Snooze a server's alarms
PUT/v1/servers/{server_uuid}/alarm-snooze
Holds the alarm notifications of one server for a set time, as the console’s Snooze does. The alarms keep evaluating the whole time: incidents still open, escalate, step down and resolve, and health and the alarm states keep their real values; only the automatic notifications are held. It covers the server’s own alarms and those of its volumes, ports and systemd units, including the *_reporting_stopped alarms, so snoozing a server before a reboot keeps it quiet. The server’s database instances, services, domains, log sources and custom metrics are their own resources and are not covered. While a snooze is live, a new or escalated incident whose alarm has a notification policy is held, not sent, and reads notification_held_at on the incident. An incident that resolves while the server is snoozed is resolved without a notification, even one that was notified before the snooze started, and an incident whose trigger was held is resolved without one too: the team is not told that an earlier page cleared. A person’s acknowledge or resolve still notifies and clears the hold, snoozed or not. When the snooze ends, by its time or by DELETE, each incident still open whose notification was held is notified once at its current severity (the stored message, so it may read as lowered from a higher severity); one already acknowledged or resolved is cleared without a notification. That release is made by a sweep that runs every minute, so it can lag the end by up to a minute. A server is also snoozed while its server profile’s snooze is live (read the server’s alarm_snooze): it stays quiet until the later of the two ends, and ending one leaves the other in force. Send duration (a whole number, at least 1) and unit (minutes, hours or days), counted from now: the total is 1 minute to 30 days, and more is refused with 422. Setting a snooze on a server that already has one replaces its end, so a second call extends or shortens it, and there is one snooze for each. reason is optional, plain text, at most 500 characters. A snooze takes effect from the next evaluation pass (up to a minute), so a notification can still go out in the pass that is running when you call, and likewise an end takes effect from the next pass. Needs the alarms.edit scope.
Needs the scope alarms.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Body parameters
- durationintegerRequired
How long the snooze lasts, a whole number of
units, at least 1. The total is 1 minute to 30 days: at most 43200minutes, 720hoursor 30days. - unitstringRequired
The unit of
duration:minutes,hoursordays.Values:minuteshoursdays(an open set: new values may be added) - reasonstring or nullOptional
Why the alarms are snoozed, plain text, at most 500 characters; null or left out for none. It is shown to the team with the snooze.
Returns
200 OK:
The server’s snooze after the call: when it ends, which snooze (its own or its profile’s) ends later, its own snooze and its profile’s.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's system services
GET/v1/servers/{server_uuid}/system-services
Lists the systemd units of a server, by name, with the restarts, memory and CPU the metric store holds for each, and the alarms that are firing on it. Those figures are null where the store has none or does not answer. search keeps only the units whose name or description contains the text, in any case. Each unit says how it is activated, whether the agent finds it healthy, whether its alarms are armed, when it last entered active, and how it last exited. An alarm names its open incident by incident_uuid, the id for GET /v1/incidents/{incident_uuid}. meta states the init system the agent reported and when it last reported a complete inventory. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - searchstring or nullOptional
Text matched, in any case, against a unit’s name and its description: only the units that contain it are listed, and
totalcounts them. - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s system services.
Each item of the page:
- uuidstring
The UUID of the unit.
- unit_namestring
The systemd unit’s name, e.g.
nginx.service. - descriptionstring or null
The unit’s description; null when it has none.
- load_statestring or null
systemd’s
LoadState. - active_statestring or null
systemd’s
ActiveState. - sub_statestring or null
systemd’s
SubState. - unit_file_statestring or null
systemd’s
UnitFileState. - monitoredboolean
Whether the unit is monitored: only a monitored unit has alarms and store figures.
- activationstring
How the unit is started:
daemon,oneshot_remain,oneshot,timer,socket,path,dbusornone. - healthyboolean
Whether the agent finds the unit healthy: it reads up, or it ended by itself the way its own unit file lists as a success.
- alarms_armedboolean
Whether the unit’s alarms are armed: only a monitored unit the agent found healthy has any.
- restartsinteger or null
Restarts in the range; null where the store has none.
- memory_bytesinteger or null
Memory in bytes; null where the store has none.
- cpu_percentnumber or null
The latest CPU as a percentage of one core, two decimals; null where not reported (not running, CPU accounting off, an older agent).
- alarm_statestring or null
The worst state among the unit’s firing alarms:
criticalorwarning; null when none is firing. - alarmsarray of objects
The unit’s firing alarms, critical first, then the oldest first.
- uuidstring
The alarm’s uuid.
- rule_slugstring
The slug of the catalogue rule behind the alarm.
- namestring
The alarm’s own name, which tells apart two alarms on one rule.
- statestring
One of
warning,critical. - state_sinceinteger or null
Epoch milliseconds: when the open incident was triggered; null when it is not known.
An instant: epoch milliseconds, UTC. - acknowledgedboolean
Whether the open incident has been acknowledged.
- incident_uuidstring or null
The uuid of the open incident: the id to pass to
GET /v1/incidents/{incident_uuid}; null when it is not known.
- state_changed_atinteger or null
Epoch milliseconds. When the unit’s state last changed; null when not known.
An instant: epoch milliseconds, UTC. - first_seen_atinteger or null
Epoch milliseconds. When the agent first reported the unit.
An instant: epoch milliseconds, UTC. - missing_sinceinteger or null
Epoch milliseconds. Since when a monitored unit has been missing from the last complete inventory; null while it is present.
An instant: epoch milliseconds, UTC. - absence_accepted_atinteger or null
Epoch milliseconds. Since when the owner accepted the unit’s absence; null when none is accepted.
An instant: epoch milliseconds, UTC. - active_entered_atinteger or null
Epoch milliseconds. When a monitored systemd unit last entered
active; null when it has not since it was loaded (how a never-started unit reads), for an unmonitored unit, for a Windows service and for an older agent.An instant: epoch milliseconds, UTC. - exit_codeinteger or null
For a systemd unit, systemd’s
ExecMainStatus: the exit status, or the signal number whenresultissignalorcore-dump; for a Windows service, its last exit code as the agent sends it (Win32 or service-specific); null when not reported. - resultstring or null
systemd’s
Resultfor a unit that is not active and has run:success,exit-code,signal,core-dump,timeout,start-limit-hit,oom-killand others; null when not reported, and always null for a Windows service.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Set a server's indicator policy
PUT/v1/servers/{server_uuid}/indicator-policies/{indicator}
Disables or reconfigures one rule on this server: its state, a severity override and known execution folders, with a reason and a review date. Needs the security.policy scope. A body that equals the defaults is refused with 422: clear the policy instead. Writing it again with the same values is idempotent.
Needs the scope security.policy.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- indicatorstringRequired
The rule:
exe_world_writableortmp_executable.Values:exe_world_writabletmp_executable(an open set: new values may be added)
Body parameters
- statestring or nullOptional
onoroff: whether the rule is checked. Null inherits the profile’s.Values:onoff(an open set: new values may be added) - severitystring or nullOptional
The severity every object of the rule takes,
critical,warningorinfo; null leaves the rule’s own. Never belowwarningin/dev/shm.Values:criticalwarninginfo(an open set: new values may be added) - known_foldersarray of strings or nullOptional
Known execution folders, each an absolute path under
/tmpor/var/tmp(not the bare roots, never under/dev/shm), at most 32, each at most 1,024 characters. An executable in one, while its folder is private to its owner, is recorded as Info. - reasonstringRequired
Why the policy is in force, 1 to 500 characters.
- review_onstring (date)Required
The day the policy is looked at again,
YYYY-MM-DD, after today and within 12 months (UTC).
Returns
200 OK:
The policy after the call.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Update a server's port
PUT/v1/servers/{server_uuid}/ports/{port_uuid}
Sets whether a port is expected to be open and whether an ephemeral port is tracked; send at least one of the two. Answers the port as servers.ports lists it. A port of another server is refused as not found.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- port_uuidstring (uuid)Required
The UUID of the port.
Body parameters
- expectedboolean or nullOptional
Whether the port is expected to be open.
- trackedboolean or nullOptional
Whether an ephemeral port is tracked.
Returns
200 OK:
The port after the change.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
Update a server's volume
PUT/v1/servers/{server_uuid}/volumes/{volume_uuid}
Switches monitoring of a volume on or off, or hands it back to the agent’s own classification with reset_override; send one of the two. Answers the volume as servers.volumes lists it.
Needs the scope servers.edit.
Headers
- Idempotency-KeystringOptional
Any text of 1 to 255 visible ASCII characters. A repeat of the same request within 24 hours returns the first answer without running again (the response carries
Idempotent-Replayed: true); the same key on a different request is refused 422invalid_request.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
- volume_uuidstring (uuid)Required
The UUID of the volume.
Body parameters
- monitoredboolean or nullOptional
Whether the volume is monitored.
- reset_overrideboolean or nullOptional
Instruction: hand the volume back to the agent’s own classification.
Returns
200 OK:
The volume after the change.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.
List a server's volumes
GET/v1/servers/{server_uuid}/volumes
Lists the server’s current volumes, by mount point, with their usage. Usage figures are null when the metric store has none. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope servers.view.
Path parameters
- server_uuidstring (uuid)Required
The UUID of the server.
Query parameters
- limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many items one page holds, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the server’s volumes.
Each item of the page:
- uuidstring
The UUID of the volume.
- mount_pointstring
The mount point of the volume.
- devicestring or null
The block device; null when the agent does not report it.
- filesystem_typestring or null
The filesystem type; null when the agent does not report it.
- total_gbnumber or null
The volume’s size in gigabytes, as the agent reports it.
- used_bytesinteger or null
Bytes in use; null when no usage is available.
- free_bytesinteger or null
Bytes free; null when no usage is available.
- used_percentnumber or null
Space in use as a percentage; null when no usage is available.
- inodes_used_percentnumber or null
Inodes in use as a percentage; null for a filesystem that keeps no inode count or when no usage is available. On XFS and other filesystems that allocate inodes as they need them, the total grows and shrinks with free space, so this percentage can move while
inodes_usedstays flat: read the count. - inodes_usedinteger or null
Inodes in use, a count; null for a filesystem that keeps no inode count or when no usage is available.
- inodes_freeinteger or null
Inodes free, a count; null for a filesystem that keeps no inode count or when no usage is available.
- read_onlyboolean or null
Null when the agent does not report it.
- classificationstring
pending,monitored, or anexcluded_*reason. - monitoredboolean
Whether the volume is monitored.
- health_statusstring
One of
unknown,healthy,warning,critical. - open_incidentsobject
Open and acknowledged incidents by severity;
acknowledgedis the subset of those.- criticalinteger
Open incidents at critical severity.
- warninginteger
Open incidents at warning severity.
- acknowledgedinteger
Of the open incidents, the acknowledged.
- first_seen_atinteger or null
Epoch milliseconds. When the agent first reported the volume.
An instant: epoch milliseconds, UTC. - forecastobject or null
The volume’s growth forecast, fitted on its daily peaks of used space with the method of the database growth forecast. Null for a volume that is not monitored, on a server that is archived or inactive, and before the first calculation.
- statusstring
One of
ok,insufficient_history(fewer than 7 days of history in the fit) andnot_growing. - used_bytesinteger or null
The bytes used today by the fit’s value, not the raw latest reading; null when the volume has no history yet.
- capacity_bytesinteger or null
The volume’s capacity in bytes, used plus free, as the alarm and
used_percentread it (reserved blocks are not in it); null when no capacity was read, and then everydays_to_*is null. - growth_bytes_per_dayinteger or null
The growth in bytes a day; null without a fit, and zero or negative when the volume is not growing.
- growth_lowinteger or null
The low end of the growth band in bytes a day (the 10th percentile of the pairwise slopes); null without a fit.
- growth_highinteger or null
The high end of the growth band in bytes a day (the 90th percentile of the pairwise slopes); null without a fit.
- projection_30dinteger or null
The fitted bytes used 30 days from now, never below 0; null without a fit.
- projection_90dinteger or null
The fitted bytes used 90 days from now, never below 0; null without a fit.
- projection_180dinteger or null
The fitted bytes used 180 days from now, never below 0; null without a fit.
- projection_365dinteger or null
The fitted bytes used 365 days from now, never below 0; null without a fit.
- days_to_warninginteger or null
Whole days until the volume reaches its warning threshold; 0 when it is already at or past it; null without a fit, a capacity or a growth above 0; at most 3650.
- days_to_criticalinteger or null
Whole days until the volume reaches its critical threshold; 0 when it is already at or past it; null without a fit, a capacity or a growth above 0; at most 3650.
- days_to_fullinteger or null
Whole days until the volume is full (used reaches its capacity); 0 when it already is; null without a fit, a capacity or a growth above 0; at most 3650, which means more than 10 years.
- warning_percentnumber or null
The warning threshold in percent of the capacity that
days_to_warningwas measured with; null when the volume has none. - critical_percentnumber or null
The critical threshold in percent of the capacity that
days_to_criticalwas measured with; null when the volume has none. - history_daysinteger
The days of history the fit read, at most 90.
- fit_window_daysinteger
The days of the fit’s window: the history after the last clean-up, or the last 30 days when the growth changed.
- segment_started_onstring or null
The day after the last clean-up the fit starts from, as
YYYY-MM-DDin UTC; null when none was found or without a fit. - computed_atinteger
Epoch milliseconds. When the forecast was calculated.
An instant: epoch milliseconds, UTC.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.