---
title: "Get admin audit logs"
method: GET
path: "/audit"
tags: ["Audit"]
---

# Get admin audit logs

`GET /audit`

## Request

- Base URL: `https://api.toriihq.com/v1.0`
- URL: `https://api.toriihq.com/v1.0/audit`
- Auth: API key in header `Authorization`

The Audit Log API allows the user to pull Audit Log events happening in the organization account.
              <br>The API is sorted based on <code>creationTime</code> and supports pagination. The default sort order is descending.
              <br>Filtering is possible using the following attributes: <code>entity</code>, <code>startTime</code>, <code>endTime</code>
              <br>An HTTP 413 error means the response is too large to return. Send the <code>Accept-Encoding: gzip</code> header, or lower the <code>size</code> parameter.
<p><ul><li>Rate limit: 200 requests per minute</li></ul></p>

## Query parameters

- `entity` 'workflows' | 'tasks' | 'campaigns' | 'contracts' | 'users' | 'apps' | 'transactions' | 'orgs' | 'roles' | 'authentication' | 'access' | 'integrations' | 'licenses' | 'files' | 'features' | 'testConnection' | 'appCatalog' | 'plugin' | 'mergeUsersRules' | 'sendingDomains' | 'anonymizeUser' | 'reports' | 'renewalForecast' | 'dashboards' | 'accessRequestDefinitions' | 'accessRequests' | 'accessPolicies' | 'userGroups'
- `startTime` string, date
- `endTime` string, date
- `size` integer
- `cursor` string
- `sort` 'asc' | 'desc'

## Response `200`

Audit Log

- AuditLog: Audit Log
  - `audit` AuditLog[]
  - `nextCursor` string: A base64 string indicating the offset from which to start. <br>Pass the value of `nextCursor` returned from the previous call to get the next set of results
  - `count` integer

---

[API](https://skmtc.dev/toriihq/apis/torii-api-documentation.md) - [All operations](https://skmtc.dev/toriihq/apis/torii-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/toriihq/apis/torii-api-documentation/revisions/15fd1512591b?raw)
