slas

Get Post

POST
Gets an SLA.

Request

This endpoint expects an object.
id
stringRequired
The ID of the SLA to get.

Response

This endpoint returns an object
sla
object
POST
1curl -X POST https://api.devrev.ai/slas.get \
2 -H "Authorization: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "id": "id"
6}'
200
Successful
1{
2 "sla": {
3 "id": "id",
4 "name": "name",
5 "status": "archived",
6 "compensation": {
7 "compensation": {
8 "key": "value"
9 }
10 },
11 "created_date": "2023-01-01T12:00:00Z",
12 "description": "description",
13 "display_id": "display_id",
14 "evaluation_period": "monthly",
15 "modified_date": "2023-01-01T12:00:00Z",
16 "policies": [
17 {}
18 ]
19 }
20}