Returns SLA KPIs, monitor coverage and report provenance for the selected window, with optional file formats.
GEThttps://app.upfour.io/v1/reports/sla
scope report.readstablereturns 200
Parameters
Field
Type
Description
formatoptional
stringone ofcsvjsonpdfxlsx
query parameter · Without it the answer is the JSON envelope; with it the answer is a file download of that format.
presetoptional
stringone of24h7d30d90dmtdlast_monthqtdytd
query parameter · Reporting window; period is accepted as an alias. Without preset, from and to the window is the last 30 days. The window is cut to the plan's history.
fromoptional
string
query parameter · Start of the window: an RFC 3339 timestamp or a date (YYYY-MM-DD, in tz). Replaces preset.
tooptional
string
query parameter · End of the window, same formats as from; a date means the end of that day. Defaults to now.
tzoptional
string
query parameter · IANA time zone for calendar presets and dates. Defaults to the Company's report time zone.
langoptional
stringone ofendedefault"en"
query parameter · Language of the report text.
monitor_idoptional
uuid
query parameter · Only this monitor; repeat the parameter or send a comma-separated list for several.
severityoptional
string
query parameter · Incident reports only: keep incidents of this severity; repeat the parameter or send a comma-separated list for several.
qoptional
string
query parameter · Case-insensitive text: keeps monitors whose name, or incidents whose title, contains it.
business_hoursoptional
string
query parameter · Count only these hours in SLA and response-time reports, for example mon-fri,09:00-17:00 (several groups separated by ;). The hours are read in tz, or in UTC when tz is not sent.
client_idoptional
uuid
query parameter · Report on one client.
all_clientsoptional
boolean
query parameter · true includes all clients; without client_id the report covers the Company level.
targetoptional
number0–100
query parameter · Replaces every monitor's SLA target (percent, 0 to 100).
Returns
A successful request returns 200 with application/json, application/pdf, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv.
Response fields 1 top-level fields
Field
Type
Description
data
ReportDocument
ReportDocument · 89 fields
Field
Type
Description
branding
ReportDocumentBranding
ReportDocumentBranding · 8 fields
Field
Type
Description
accent_color_hex
string
footer_text
string
logo_data_url
string
logo_url
string
org_name
string
primary_color_hex
string
watermark
string
website_url
string
content_hash
string
Fingerprint of the content; GET /reports/verify/{hash} confirms it.
generated_at
string (date-time)
kpis
ReportKPI[] · nullable
Each item · 10 fields
Field
Type
Description
label
string
value
string
Formatted for display, for example "99.94 %".
delta
ReportKPIDelta
ReportKPIDelta · 4 fields
Field
Type
Description
abs
number
direction
stringone ofupdownflat
good
boolean
pct
number
key
string
raw
any
The machine-readable value (a number, mostly); absent when there is no data.
unit
string
org
ReportCompany
ReportCompany · 2 fields
Field
Type
Description
id
uuid
name
string
range
ReportRange
ReportRange · 5 fields
Field
Type
Description
from
string (date-time)
to
string (date-time)
clamped
boolean
true when the window was cut to the plan's history.