Authorization header.
Create a policy
POST https://your-api-domain.com/api/v1/sla-policies
Creates a new SLA policy. The policy is immediately active and will be evaluated against incoming incidents that match its applicableTeam.
Request body
string
required
A human-readable name for the policy.
string
required
The incident priority this policy applies to. Accepted values:
CRITICAL, HIGH, MEDIUM, LOW.number
required
Target time in minutes within which the incident must receive a first response.
number
required
Percentage of incidents that must meet the response time target (0–100).
number
required
Target time in minutes within which the incident must be fully resolved.
number
required
Percentage of incidents that must meet the resolution time target (0–100).
string
required
The escalation tier or contact identifier to notify when a breach is detected.
string
required
The team email or identifier this policy governs.
number
required
Required uptime percentage for services covered by this policy (e.g.,
99.9).Response fields
string
required
Unique identifier for the created policy.
string
required
Policy name.
string
required
Priority level this policy targets.
string
required
Current breach classification. One of
NONE, RESPONSE_BREACH, RESOLVE_BREACH, or BOTH.string
required
ISO 8601 timestamp of policy creation.
List all policies
GET https://your-api-domain.com/api/v1/sla-policies
Returns all SLA policies defined for the account.
Response fields
object[]
required
Array of SLA policy objects.
Get a single policy
GET https://your-api-domain.com/api/v1/sla-policies/:id
Retrieves the full configuration of a specific SLA policy.
Path parameters
string
required
The unique identifier of the SLA policy.
Update a policy
PUT https://your-api-domain.com/api/v1/sla-policies/:id
Replaces all fields of an existing SLA policy. Supply the full policy body — omitted fields revert to their defaults.
Path parameters
string
required
The unique identifier of the SLA policy to update.
Request body
The request body accepts the same fields as Create a policy.Delete a policy
DELETE https://your-api-domain.com/api/v1/sla-policies/:id
Permanently removes an SLA policy. Incidents already evaluated against this policy retain their recorded breach status.
Path parameters
string
required
The unique identifier of the SLA policy to delete.
Breach status values
ThebreachStatus field on each policy reflects the current compliance state across all incidents evaluated against that policy.