Skip to content

Commit

Permalink
Explain SLA statuses in webhook docs (#83)
Browse files Browse the repository at this point in the history
* Explain SLA statuses in webhook docs

* Update api-reference/webhooks/thread-service-level-agreement-status-transitioned.mdx

Co-authored-by: Andrew Blaney <[email protected]>

---------

Co-authored-by: Andrew Blaney <[email protected]>
  • Loading branch information
DLeyland and andrewblaney authored Aug 22, 2024
1 parent dbd7533 commit 8260204
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ title: 'Thread SLA status transitioned'

This event is fired when the status of an SLA linked to a thread changes.

As part of the `serviceLevelAgreementStatusDetail` field threads can have a status with the following values:

| Status | Description |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `PENDING` | When the timer on the SLA is counting down but has not met the `IMMINENT_BREACH` threshold |
| `IMMINENT_BREACH` | For SLAs where an alert has been set up to notify the team before it breaches. The SLA will be in this status after the alert period and before the SLA breaches |
| `BREACHING` | Applies to SLAs while their conditions are not met e.g if a thread with a first response time (FRT) SLA has not been replied to after the time period specified |
| `ACHIEVED` | A thread where the SLA conditions were met e.g a thread was replied to within the FRT SLA period |
| `BREACHED` | A thread where the SLA conditions were not met (and so entered `BREACHING`) but action has been taken that would have resolved the SLA e.g a thread breached the FRT SLA, but then first reply was sent |
| `CANCELLED` | An SLA which no longer applies e.g if a thread is marked as done with no reply the SLA is cancelled since we don't want it to affect metrics |

## Schema

[**View JSON Schema →**](https://core-api.uk.plain.com/webhooks/schema.json)
Expand Down

0 comments on commit 8260204

Please sign in to comment.