---
title: "Get Audit Records for User's Profile"
method: GET
path: "/api/audit/v1/users/{userId}/activities"
tags: ["Audit Records"]
---

# Get Audit Records for User's Profile

`GET /api/audit/v1/users/{userId}/activities`

Use this API to retrieve a list of changes made to a user's profile for audit purposes. The response will include a history of changes made to the user's details, roles, and organizations.

## Path parameters

- `userId` string, uuid, required

## Query parameters

- `includeChildObjects` boolean
- `page` integer
- `size` integer

## Response `200`

OK

- AuditRecordsPageUserActivityResponse
  - `content` AuditRecordsUserActivityResponse[] — List of User Activities in the current page
    - `name` string — Name of the user
    - `email` string — Email address
    - `event` string — Event type
    - `fieldName` string — Field Name
    - `oldValue` string — Old value
    - `newValue` string — New value
    - `method` string — Method name
    - `updatedBy` string — Updated by
    - `date` string, date-time — Date of the event
  - `empty` boolean — Flag to check if the result list is empty or not
  - `first` boolean — Flag to check if this is the first page
  - `last` boolean — Flag to check if this is the last page
  - `number` integer — Current page number (0-based)
  - `numberOfElements` integer — Number of elements in the current page
  - `size` integer — Page size
  - `totalElements` integer — Total number of elements across all pages
  - `totalPages` integer — Total number of pages
  - `sort` AuditRecordsSortObject
    - `empty` boolean
    - `sorted` boolean
    - `unsorted` boolean
  - `pageable` object — Pagination information with page number (0-based, min: 0) and page size (min: 1)

## Other responses

- `400` — Invalid user ID format
- `401` — Unauthorized
- `403` — Access denied
- `404` — User not found
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
