---
title: "Get sla information"
method: GET
path: "/rest/servicedeskapi/request/{issueIdOrKey}/sla"
tags: ["Request"]
---

# Get sla information

`GET /rest/servicedeskapi/request/{issueIdOrKey}/sla`

This method returns all the SLA records on a customer request. A customer request can have zero or more SLAs. Each SLA can have recordings for zero or more "completed cycles" and zero or 1 "ongoing cycle". Each cycle includes information on when it started and stopped, and whether it breached the SLA goal.

**[Permissions](#permissions) required**:

 *  Agent for the Service Desk containing the queried customer request, AND
 *  Browse Projects permission on the project containing the customer request, including any restrictions imposed by issue security schemes or custom permission schemes on the specific issue.

## Path parameters

- `issueIdOrKey` string, required

## Query parameters

- `start` integer
- `limit` integer

## Response `200`

Returns the SLA records on the customer request, on the specified page of the results.

- PagedDTOSlaInformationDTO
  - `_expands` string[]
  - `_links` PagedLinkDTO
    - `base` string, uri — Base URL for the REST API calls.
    - `context` string
    - `next` string, uri — REST API URL for the next page, if there is one.
    - `prev` string, uri — REST API URL for the previous page, if there is one.
    - `self` string, uri — REST API URL for the current page.
  - `isLastPage` boolean — Indicates if this is the last page of records (true) or not (false).
  - `limit` integer — Number of items to be returned per page, up to the maximum set for these objects in the current implementation.
  - `size` integer — Number of items returned in the page.
  - `start` integer — Index of the first item returned in the page.
  - `values` SlaInformationDTO[] — Details of the items included in the page.
    - `_links` SelfLinkDTO
      - `self` string, uri
    - `completedCycles` SlaInformationCompletedCycleDTO[] — List of completed cycles for the SLA.
      - `breachTime` DateDTO
        - `epochMillis` integer — Date as the number of milliseconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), 1 January 1970.
        - `friendly` string — Date in a user-friendly text format.
        - `iso8601` string — Date in ISO8601 format.
        - `jira` string — Date in the format used in the Jira REST APIs, which is ISO8601 format but extended with milliseconds. For example, 2016-09-28T23:08:32.097+1000.
      - `breached` boolean — Indicates if the SLA (duration) was exceeded (true) or not (false).
      - `elapsedTime` DurationDTO
        - `friendly` string — Duration in a user-friendly text format.
        - `millis` integer — Duration in milliseconds.
      - `goalDuration` DurationDTO
        - `friendly` string — Duration in a user-friendly text format.
        - `millis` integer — Duration in milliseconds.
      - `remainingTime` DurationDTO
        - `friendly` string — Duration in a user-friendly text format.
        - `millis` integer — Duration in milliseconds.
      - `startTime` DateDTO
        - `epochMillis` integer — Date as the number of milliseconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), 1 January 1970.
        - `friendly` string — Date in a user-friendly text format.
        - `iso8601` string — Date in ISO8601 format.
        - `jira` string — Date in the format used in the Jira REST APIs, which is ISO8601 format but extended with milliseconds. For example, 2016-09-28T23:08:32.097+1000.
      - `stopTime` DateDTO
        - `epochMillis` integer — Date as the number of milliseconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), 1 January 1970.
        - `friendly` string — Date in a user-friendly text format.
        - `iso8601` string — Date in ISO8601 format.
        - `jira` string — Date in the format used in the Jira REST APIs, which is ISO8601 format but extended with milliseconds. For example, 2016-09-28T23:08:32.097+1000.
    - `id` string — ID of the Service Level Agreement (SLA).
    - `name` string — Description of the SLA.
    - `ongoingCycle` SlaInformationOngoingCycleDTO
      - `breachTime` DateDTO
        - `epochMillis` integer — Date as the number of milliseconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), 1 January 1970.
        - `friendly` string — Date in a user-friendly text format.
        - `iso8601` string — Date in ISO8601 format.
        - `jira` string — Date in the format used in the Jira REST APIs, which is ISO8601 format but extended with milliseconds. For example, 2016-09-28T23:08:32.097+1000.
      - `breached` boolean — Indicates whether the SLA has been breached (true) or not (false).
      - `elapsedTime` DurationDTO
        - `friendly` string — Duration in a user-friendly text format.
        - `millis` integer — Duration in milliseconds.
      - `goalDuration` DurationDTO
        - `friendly` string — Duration in a user-friendly text format.
        - `millis` integer — Duration in milliseconds.
      - `paused` boolean — Indicates whether the SLA is paused (true) or not (false).
      - `remainingTime` DurationDTO
        - `friendly` string — Duration in a user-friendly text format.
        - `millis` integer — Duration in milliseconds.
      - `startTime` DateDTO
        - `epochMillis` integer — Date as the number of milliseconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), 1 January 1970.
        - `friendly` string — Date in a user-friendly text format.
        - `iso8601` string — Date in ISO8601 format.
        - `jira` string — Date in the format used in the Jira REST APIs, which is ISO8601 format but extended with milliseconds. For example, 2016-09-28T23:08:32.097+1000.
      - `withinCalendarHours` boolean — Indicates whether the SLA it timed during calendared working hours only (true) or not (false).
    - `slaDisplayFormat` string — Format in which SLA is to be displayed in the UI

## Other responses

- `401` — Returned if the user is not logged in.
- `403` — Returned if the user does not have permission to view this customer request. This includes the case where the user is not an agent on the Service Desk, or where the user lacks Browse Projects permission on the issue (for example, due to an issue security scheme or a custom permission scheme).
- `404` — Returned if the customer request does not exist.
- `500` — Internal Server Error.

---

[API](https://skmtc.net/atlassian/apis/service-management-public-rest-api.md) · [All operations](https://skmtc.net/atlassian/apis/service-management-public-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/service-management-public-rest-api/versions/d1dc1a13b783/schema)
