---
title: "Get privileged access audit events"
method: GET
path: "/admin/access-events"
tags: ["Admin"]
---

# Get privileged access audit events

`GET /admin/access-events`

## Request

- Base URL: `https://api.unravelcarbon.com/api/v1`
- URL: `https://api.unravelcarbon.com/api/v1/admin/access-events`
- Auth: HTTP bearer

Export privileged account activity history for bi-annual or annual access reviews.

Captures login, logout, password changes, and user-administration actions (grant access, delete, role update, org assignment update).

Grant-access rows (`admin-invite-user`) appear when a user is given a role: invitation accepted, SSO user created, or roles added to an existing user. Sending an invitation email alone does not create a row.

- **Default window**: last 365 days when `start_date` and `end_date` are omitted
- **Date filters**: `start_date` and `end_date` accept `YYYY-MM-DD`, `dd/MM/yyyy`, or `YYYY-MM-DDTHH:MM:SS`
- **End-date semantics**: date-only `end_date` values are inclusive through the end of that calendar day (UTC)
- **Pagination**: `page` (default `1`) and `limit` (default `100`, max `1000`)
- **Sorting**: ascending by event time, with `id` as a stable tie-breaker

Requires an API key whose owner currently has company Administrator or workspace Administrator access.

## Query parameters

- `start_date` string
- `end_date` string
- `page` integer
- `limit` integer

## Headers

- `Authorization` string, required

## Response `200`

Paginated privileged access audit events

- AuditEventResponse
  - `data` AuditEventRecord[]
    - `Performed By (UserID)` string: Performer email address.
    - `Performed By (UserName)` string: Performer display name.
    - `Applied on account` string: Target account, role, or configuration affected by the activity.
    - `Activity Type` 'login' | 'logout' | 'password_update' | 'admin-invite-user' | 'admin-delete-user' | 'admin-update-user-role' | 'admin-update-user-org_struct'
    - `Old Value` string: Previous value for update and delete activities, blank otherwise.
    - `New Value` string: New value for invite and update activities, blank otherwise.
    - `Created DateTime` string: Event timestamp in UTC (`dd/MMM/yyyy HH:mm:ss`).
  - `page` integer
  - `limit` integer
  - `total` integer: Total matching events for the query (before pagination).

## Other responses

- `400`: Invalid request or parameters
- `401`: Missing, invalid, or expired API key, or a valid key whose owner is not currently a company or workspace Administrator. These cases return 401 with a `message` field. A valid non-admin key does not return 403.

## Changes

- **2026-10-14** `92352c72d399`: 2 warning, 2 info
  - removed the optional property `data/items/Applied on account / role / configuration` from the response with the `200` status
  - removed the optional property `data/items/Created Date / Time UTC (dd/MM/yyyy HH:mm:ss)` from the response with the `200` status
  - added the optional property `data/items/Applied on account` to the response with the `200` status
  - added the optional property `data/items/Created DateTime` to the response with the `200` status

[Operation history](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/changes/admin/access-events/get.md)

---

[API](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api.md) - [All operations](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/revisions/310d3bb09dbe?raw)
