Admin

Get privileged access audit events

Changed on

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.

get/admin/access-events

Request

  • Base URL
    https://api.unravelcarbon.com/api/v1
  • Auth
    HTTP bearer

Query parameters

start_datestring
Example:2026-01-01

Inclusive lower bound for event created_at (UTC).

end_datestring
Example:2026-08-31

Inclusive upper bound for event created_at when given as a date-only value (UTC).

pageinteger
limitinteger

Headers

Authorizationstring required
Example:Bearer <your_api_key>

Bearer token (API Key)

Response

Paginated privileged access audit events

pageinteger
limitinteger
totalinteger

Total matching events for the query (before pagination).

Example response

{
  "data": [
    {
      "Performed By (UserID)": "admin@example.com",
      "Performed By (UserName)": "Ada Admin",
      "Applied on account": "ada@example.com",
      "Activity Type": "admin-invite-user",
      "Old Value": "HQ: Viewer",
      "New Value": "HQ: Admin",
      "Created DateTime": "28/Aug/2026 09:30:00"
    }
  ],
  "page": 1,
  "limit": 100,
  "total": 250
}

Changes

    • warning

      removed the optional property data/items/Applied on account / role / configuration from the response with the status

    • warning

      removed the optional property data/items/Created Date / Time UTC (dd/MM/yyyy HH:mm:ss) from the response with the status

    • info

      added the optional property data/items/Applied on account to the response with the status

    1 more change in this revision