> ## Documentation Index
> Fetch the complete documentation index at: https://docs.magnific.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Audit Logs API v2 | Magnific API

> Your enterprise audit trail on API v2, under /v2/team/audit-logs.

The audit trail of API v1's Audit Logs API, under `/v2/team/audit-logs`: the same events and filters (`member_id`, `group_id`, `folder_id`, `event_type`, `request_id`, `auth_type`, `api_key_id`, `date_from`, `date_to`), paged with `limit` and `cursor`. Enterprise, with the audit-logs permission; a personal token needs `api:read` to read and `api:write` to request a report.

| API v1 | API v2 |
| - | - |
| `GET /v1/analytics/audit-logs/events` | [`GET /v2/team/audit-logs/events`](https://docs.magnific.com/api-reference/v2/audit-logs/events) |
| `POST /v1/analytics/audit-logs/export` | [`POST /v2/team/audit-logs/export`](https://docs.magnific.com/api-reference/v2/audit-logs/export) |
| `GET /v1/analytics/audit-logs/reports` | [`GET /v2/team/audit-logs/reports`](https://docs.magnific.com/api-reference/v2/audit-logs/reports) |
| `GET /v1/analytics/audit-logs/reports/{reference}/download-url` | [`GET /v2/team/audit-logs/reports/{report_id}/download-url`](https://docs.magnific.com/api-reference/v2/audit-logs/download-url) |

Every event type and its fields are in the [event catalog](https://docs.magnific.com/api-reference/audit-logs/event-catalog.md), shared by both versions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.