> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.divert.ly/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.divert.ly/_mcp/server.

# Compliance & Audit

> View your Divertly audit log in the dashboard or API, and read how Divertly handles privacy and personal data.

Divertly keeps an audit log of activity in your organization, so you can see who took an action, what the action was, and when it happened.

## Privacy and compliance

How Divertly collects, uses, and protects personal data is described in the Privacy Policy at [divert.ly/legal](https://divert.ly/legal). In summary:

* The policy describes the rights available under the GDPR (for people in the European Economic Area) and the CCPA (for California residents), including access, deletion, and portability.
* Divertly doesn't sell personal data.
* Data is transferred to and processed in the United States.
* Payments are processed by Paddle. Divertly doesn't store or collect payment card details.
* Domains and targets are screened for risk. See [Security & Risk](/docs/concepts/security-risk).

For retention and export, see [Data Retention & Export](/docs/organization/data-retention-export). For questions about compliance, [contact support](https://support.divert.ly).

## View the audit log

Find the audit log on the **Organization** page, below Billing. Each entry shows:

![The Organization page, showing organization details, billing, and the audit log](file:docs/assets/organization-overview.jpg "Organization")

| Field     | Description                                                        |
| --------- | ------------------------------------------------------------------ |
| Timestamp | When the request was made.                                         |
| User      | The email address of the person who made the request.              |
| Method    | The HTTP method used (`GET`, `POST`, `PUT`, `PATCH`, or `DELETE`). |
| URI       | The request path.                                                  |
| Status    | The HTTP status code the request returned.                         |
| Source IP | The IP address the request came from.                              |

Click any row to see the complete recorded detail for that event. Use the rows-per-page control to show 10, 25, 50, or 100 entries at a time, and page through the rest with the controls below the table.

## Retrieve audit events through the API

The same events are available programmatically:

```bash
curl https://api.divert.ly/v1/organizations/{org_id}/audit-events \
  -H "Authorization: Key $CREDENTIAL"
```

To see the audit history for a single user instead of the whole organization:

```bash
curl https://api.divert.ly/v1/organizations/{org_id}/users/{user_id}/audit-events \
  -H "Authorization: Key $CREDENTIAL"
```

See [Authentication](/docs/developers/authentication) for how to authenticate these requests.