List monitors in a program
/api/v1/programs/{program_uuid}/monitors
operationId: monitor.list
Base: https://portal.watcheye.com.au/api/v1/programs/{program_uuid}/monitors
Returns the monitors that belong to the given program. Soft-deleted monitors are excluded. Results are paginated.
Filters
The following filters can be applied via the filter[...] query parameters:
status- one ofactive,pausedprocess_status- one ofpending,processing,failed,pausedmonitor_check_type- one of the operation types enabled on the accountschedule- one of the schedule values listed on the Monitor schema
Sorting
The sort query parameter accepts created_at, last_run_at (default: -last_run_at,
most recently run first - monitors that have never run sort last) or monitor_name.
Prefix with - for descending order.
Path parameters
| Field | Description |
|---|---|
program_uuidrequired |
string (uuid) The program UUID |
Query parameters
| Field | Description |
|---|---|
page |
integer The page number to return |
per_page |
integer The number of monitors per page (defaults to 30, max 500) |
filter[status] |
string Only records with the given status. The endpoint description lists the values. |
filter[process_status] |
string Only monitors with the given process status. |
filter[monitor_check_type] |
string Only monitors of the given operation type. |
filter[schedule] |
string Only monitors on the given schedule. |
sort |
string Field to sort by; prefix with |
Responses
Monitors list response
application/json
| Field | Description |
|---|---|
data |
array of objects An array of monitors |
data[]. |
string (uuid) The monitor's UUID |
data[]. |
string A short obfuscated public identifier for the monitor (e.g. "M-12-34-56") |
data[]. |
string The display name of the monitor |
data[]. |
string The screening operation this monitor runs. Cannot be changed after creation - create a new monitor instead. The list of allowed values depends on the products enabled on the calling account. |
data[]. |
string Human-readable name for |
data[]. |
string Lifecycle status:
|
data[]. |
string or null In-flight run state, or
Callers polling after |
data[]. |
string or null Optional human-readable detail accompanying |
data[]. |
string How often the monitor runs unattended. |
data[]. |
string or null Human-readable description of the schedule (e.g. "Every Day (Mon-Sun)") |
data[]. |
object (dynamic) Per-operation configuration. The shape depends on |
data[]. |
string (date-time) or null ISO 8601 timestamp of the most recent run, or |
data[]. |
boolean
|
data[]. |
string (uuid) UUID of the program this monitor belongs to |
data[]. |
string (date-time) ISO 8601 timestamp at which the monitor was created |
data[]. |
string (date-time) ISO 8601 timestamp at which the monitor was last updated |
meta |
object |
meta. |
integer |
meta. |
integer |
meta. |
integer |
meta. |
integer |
api_reference |
string (uuid) A unique identifier for this request. This can be used to track the request in the logs and audit trail. |