---
title: "Get Service Account Activity"
method: GET
path: "/ServiceAccounts/{id}/Activity"
tags: ["Serviceaccounts"]
---

# Get Service Account Activity

`GET /ServiceAccounts/{id}/Activity`

**Requires permission:** *IT*

The per-request activity trail for a service account (most recent first by default).

## Path parameters

- `id` string, guid, required

## Query parameters

- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Response `200`

Success - Got Activity

- GetServiceAccountActivityResponse
  - `activity` ServiceAccountActivity[], nullable
    - `activityId` string, guid
    - `clientId` string, nullable
    - `displayName` string, nullable
    - `timestamp` string, date-time
    - `method` string, nullable
    - `path` string, nullable
    - `queryString` string, nullable
    - `apis` string, nullable
    - `statusCode` integer
    - `durationMs` integer, nullable
    - `recordCount` integer, nullable
    - `ipAddress` string, nullable
    - `userAgent` string, nullable
  - `meta` Meta
    - `page` integer
    - `pageSize` integer
    - `total` integer

## Other responses

- `400` — An Error Occurred - Could not get Activity
- `401` — Unauthorized
- `403` — Forbidden

---

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