---
title: "Get a List of Service Record Activities"
method: GET
path: "/activities/sr/search"
tags: ["Service Records"]
---

# Get a List of Service Record Activities

`GET /activities/sr/search`

Retrieve a paginated list of service record activities in your SysAid account. You can use different criteria to filter the list. You must apply at least one filter parameter to run the endpoint.

## Query parameters

- `srIds` integer[]
- `status` integer
- `timestampFrom` string, date-time
- `timestampTo` string, date-time
- `hasTotalTime` boolean
- `limit` integer
- `offset` integer

## Response `200`

Service record activity list.

- GetServiceRecordActivitiesResponse
  - `limit` integer — The number of items that are returned per page
  - `offset` integer — The offset used for pagination.
  - `total` integer — The total number of elements across all pages.
  - `data` ServiceRecordActivityDetails[], required
    - `id` integer — The unique identifier of the activity.
    - `srId` integer — The unique identifier of the service record this activity belongs to.
    - `srType` string — The type of the service record (for example, "1" for Incident, "4" for Change, "6" for Problem, "10" for Request).
    - `fromTime` string — The start time of the activity (ISO 8601).
    - `toTime` string — The end time of the activity (ISO 8601).
    - `totalTime` integer — The cumulative duration in milliseconds, calculated as toTime minus fromTime.
    - `description` string — The description of the activity.
    - `usernameId` integer — The unique identifier of the user who performed the activity. Returns -1 if the user no longer exists in the system.
    - `username` string — The username of the user who performed the activity.

## Other responses

- `400` — The request was invalid or cannot be served
- `401` — Authentication information is missing or invalid
- `403` — The server understood the request but refuses to authorize it
- `500` — An unexpected error occurred on the server

---

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