A successful request returns 200 with application/json.
Response fields 1 top-level fields
Field
Type
Description
data
MonitorPattern
MonitorPattern · 27 fields
Field
Type
Description
consecutive_days
integer
Days in a row with a matching phase, ending with the newest one.
detected
boolean
True when at least 3 unstable phases (alert episodes with measured downtime) of the last 14 days started on different local days within 7 days and inside one 90-minute window of the time of day. Computed when read, in the Company time zone.
night
boolean
True when the whole window lies between 22:00 and 06:00 local time.
phases
MonitorPatternPhase[] · nullable
Each item · 5 fields
Field
Type
Description
down_seconds
number
episode_id
uuid
local_date
string
local_time
string
started_at
string (date-time)
phases_considered
integer
rules
MonitorPatternRules
MonitorPatternRules · 4 fields
Field
Type
Description
lookback_days
integer
min_phases
integer
span_days
integer
window_minutes
integer
timezone
string
drift
MonitorPatternDrift
MonitorPatternDrift · 2 fields
Field
Type
Description
direction
string
minutes_per_day
number
Average minutes the start moves per day; only present when every day moves the same way by a roughly constant amount.
newest
MonitorPatternPhase
MonitorPatternPhase · 5 fields
Field
Type
Description
down_seconds
number
episode_id
uuid
local_date
string
local_time
string
started_at
string (date-time)
window_end
string
Latest local time of day (HH:MM) of the matching phases.
window_start
string
Earliest local time of day (HH:MM) of the matching phases. The window can cross midnight.
Errors
Only the errors this operation can return. Every error uses the same envelope.