Skip to main content
SLA policies set the performance commitments your team is held to when incidents occur. Each policy combines response and resolution time targets with breach thresholds, so the system can classify incidents that are trending toward or have exceeded acceptable limits. You can scope policies to specific teams and link them to escalation contacts for automated notification. All requests require a Bearer token in the 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

The breachStatus field on each policy reflects the current compliance state across all incidents evaluated against that policy.