Platform
string · enumstringstring
string · requiredstring · requiredstring · requiredarray | nullboolean | nullAlertChannel[] · requiredboolean · requiredstring · requiredAlertKind · enum · requiredinteger | null · int64 · requiredinteger | null · int32 · requiredinteger · int64 · requiredstring · date-time · requiredstring · required
Alerts
List customer-visible alert episodes and containments
GET
https://api.signals.pressone.africa/v1
/alerts
query Parameters
rangeEnum values:
24h
7d
30d
90d
trunk_idOne trk_ trunk id; leave it out for every trunk.
Headers
X-Project-IDThe project the request acts on, as prj_ and its lowercase UUID; optional while the
organization has one active project.
List customer-visible alert episodes and containments › Responses
Alerts and containments visible to the caller's role.
Containment[] · required
Alert[] · required
List alert policies visible to the caller's role
GET
https://api.signals.pressone.africa/v1
/alerts/policies
List alert policies visible to the caller's role › Responses
Every alert policy the caller's role can see.
AlertPolicy[] · required
Create the next immutable revision of an alert policy
PATCH
https://api.signals.pressone.africa/v1
/alerts/policies/{policy_id}
path Parameters
policy_idAlert policy id
Headers
If-MatchThe quoted revision the caller last read, so a concurrent change answers 412.
Idempotency-KeyOne nonblank key of at most 128 characters; a retry with the same key repeats the outcome.
Create the next immutable revision of an alert policy › Request Body
channelsEnum values:
email
webhook
in_app
sms
enabled
Create the next immutable revision of an alert policy › Responses
The new policy revision.
channelsEnum values:
email
webhook
in_app
sms
enabledidkindEnum values:
balance_low
spend_daily
spend_monthly
spend_velocity
first_seen_high_cost_destination
new_source_ip
endpoint_health
trunk_apply_failed
platform_ceiling_minorplatform_ceiling_window_secondsAlertPolicyResolution · required
revisionAlertPolicyScope · required
AlertPolicyThreshold · required
updated_atupdated_by