Signals Docs
Platform

Alerts


List customer-visible alert episodes and containments

GET
https://api.signals.pressone.africa/v1
/alerts

List customer-visible alert episodes and containments › query Parameters

range
​string · enum
Enum values:
24h
7d
30d
90d
trunk_id
​string

One trk_ trunk id; leave it out for every trunk.

List customer-visible alert episodes and containments › Headers

X-Project-ID
​string

The 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}

Create the next immutable revision of an alert policy › path Parameters

policy_id
​string · required

Alert policy id

Create the next immutable revision of an alert policy › Headers

If-Match
​string · required

The quoted revision the caller last read, so a concurrent change answers 412.

Idempotency-Key
​string · required

One 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

channels
​array | null
Enum values:
email
webhook
in_app
sms
enabled
​boolean | null
​
​
​

Create the next immutable revision of an alert policy › Responses

The new policy revision.

channels
​AlertChannel[] · required
Enum values:
email
webhook
in_app
sms
enabled
​boolean · required
id
​string · required
kind
​AlertKind · enum · required
Enum values:
balance_low
spend_daily
spend_monthly
spend_velocity
first_seen_high_cost_destination
new_source_ip
endpoint_health
trunk_apply_failed
platform_ceiling_minor
​integer | null · int64 · required
platform_ceiling_window_seconds
​integer | null · int32 · required
​AlertPolicyResolution · required
revision
​integer · int64 · required
​AlertPolicyScope · required
​AlertPolicyThreshold · required
updated_at
​string · date-time · required
updated_by
​string · required