Skip to main content

API-Alerts

note

Preliminary: subject to change

The Alerts API exposes the current set of Eclipse Pro alerts — the same set the operator UI displays. It is read-only. Alerts are aggregated from production state, agent status, integration health, and licensing concerns; the returned list is already filtered by license and per-machine permissions associated with the API key.

See API-Getting Connected for the Authorization: ApiKey ... header.

Endpoints

GET /api/v1/alerts (get current alerts)
Parameters
nametypedata typedescription
machineNumberoptionalintOnly return alerts for this machine.
typeoptionalstringOnly return alerts of this category. See Alert types.
criticalOnlyoptionalboolWhen true, only return alerts flagged critical.
Responses
http codecontent-typeresponse
200application/jsonArray of alerts (possibly empty).
401application/jsonMissing or invalid API key.
Response shape
[
{
"id": "AgentOffline/Machine-1",
"alertType": "AgentOffline",
"title": "Agent offline",
"description": "The agent on machine 1 has not reported in 5 minutes.",
"isCritical": true,
"machineNumber": 1,
"created": "2026-05-20T13:22:01.0000000Z",
"updated": "2026-05-20T13:27:05.0000000Z",
"percentComplete": 0,
"kbLink": "https://kb.amscontrols.com/eclipse/agent-offline"
}
]
fielddescription
idStable identifier, formed as {alertType}/{referenceId}.
alertTypeAlert category. See Alert types.
titleShort human-readable summary.
descriptionLonger human-readable description.
isCriticaltrue when this alert requires urgent operator attention.
machineNumber0 when the alert is not machine-specific; otherwise the machine number.
createdWhen the alert was first raised. UTC.
updatedMost recent update to the alert. UTC.
percentComplete0..1 completion fraction for progress-style alerts (e.g. startup sync); 0 otherwise.
kbLinkURL to a knowledge-base article describing the condition, if one exists.
Example cURL
curl -H "Authorization: ApiKey YOUR_KEY" \
"http://localhost:8080/api/v1/alerts?criticalOnly=true"

Alert types

The alertType field is one of the following values. The set is filtered by license: e.g. WarehouseTaskLate is only returned when at least one machine carries the warehouse module.

valuemeaning
GeneralInfoInformational notice from the system.
AgentOfflineThe Eclipse agent for a machine has stopped reporting.
AgentConfigurationThe agent reports a configuration problem.
CommOfflineComm to a machine controller is down.
MachineOfflineThe machine is not currently producing and is expected to be.
ProductionSyncStatusProduction data sync from Classic has fallen behind or failed.
CommErrorA transient communication error was reported.
StartupSyncStatusStartup-time data sync is incomplete or failing. Progress is reported in percentComplete.
ScheduleSlipA scheduled job is at risk of missing its required date.
IntegrationErrorAn external integration (export, webhook, sync) is failing.
WarehouseTaskLateA warehouse task is past its required date. Warehouse-licensed sites only.
PrinterErrorA configured printer is offline or rejecting jobs.
SystemErrorA non-recoverable system condition is preventing normal operation.
ScheduleSendErrorEclipse failed to send a scheduled job to its machine controller.
LicensingA licensing problem is preventing some functionality from operating.
SolutionErrorA shape-programming solution failed to compute for a job.

Unknown is reserved and not returned in normal operation.