GET
/
v1
/
sla
/
duration
{
  "durationToBreachWorkingMinutes": 120,
  "status": "RUNNING",
  "nextAttemptAt": "2024-03-21T10:00:00Z"
}

Query Parameters

organizationId
string
required

The unique identifier of the organization

Example:

"org-123456"

teamId
string
required

The unique identifier of the team

Example:

"team-123456"

entityId
string
required

The unique identifier of the entity

Example:

"entity-123456"

entityType
string
required

The type of the entity

Example:

"issue"

metric
enum<string>
required

The metric to be used for the SLA job

Available options:
first_time_response,
next_time_response,
total_resolution_time,
update_time
Example:

"response_time"

Response

200
application/json
Operation successful
durationToBreachWorkingMinutes
number
required

The remaining duration in working minutes until SLA breach

Example:

120

status
enum<string>
required

The current status of the SLA job

Available options:
RUNNING,
PAUSED,
COMPLETED,
BREACHED
Example:

"RUNNING"

nextAttemptAt
string
required

The timestamp for the next attempt

Example:

"2024-03-21T10:00:00Z"