Docs

Type a word or a question. Esc closes the search.

Sign in Start free

List SLA policies

Returns service-level targets with monitor scope, rolling windows and pagination.

GET https://app.upfour.io/v1/sla-policies
GET https://app.upfour.io/v1/sla-policies
Authorization
AuthorizationA pls_ key. It stays in this browser tab. Needs report.read.
Query

Sent directly from your browser to https://app.upfour.io/v1. Mutating calls get an automatic Idempotency-Key when the field is empty.

Request
Responsenot sent yet
Fill in a key and press Send request (⌘↵).
The answer appears here.
scope report.read stable returns 200

Parameters

FieldTypeDescription
limit optional integer 1–250default 50 query parameter
cursor optional string query parameter
client_id optional uuid query parameter
all_clients optional boolean query parameter
q optional string query parameter
sort optional string query parameter

Returns

A successful request returns 200 with application/json.

Response fields 2 top-level fields
FieldTypeDescription
data SLAPolicy[] · nullable
Each item · 14 fields
FieldTypeDescription
created_at string (date-time)
degraded_counts_as_violation boolean
id uuid
name string
organization_id uuid
target_pct number The uptime target in percent.
updated_at string (date-time)
window_days integer
business_hours BusinessHoursResponse
BusinessHoursResponse · 2 fields
FieldTypeDescription
days map of string[][] · nullable The weekdays measured, keyed by ISO weekday from 1 (Monday) to 7 (Sunday); each lists its [start, end) windows as HH:MM pairs in tz. A day with no windows is excluded; at least one window is required, and windows of a day may not overlap.
tz string IANA time zone name; UTC when empty.
client_id uuid
created_by uuid
monitor_id uuid
pagination Pagination
Pagination · 5 fields
FieldTypeDescription
cursor string · nullable
has_more boolean
limit integer 1–250
next_cursor string · nullable
prev_cursor string · nullable

Errors

Only the errors this operation can return. Every error uses the same envelope.

Status Code Meaning
400 bad_request The request is malformed or fails validation.
403 permission_denied The credentials do not permit this action.

Every call can also return unauthorized (401), rate_limit_exceeded (429) or internal_error (500 / 502). See Responses and errors.