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

# Audit logs

> Review changes to billing objects and recorded API requests.

Audit logs help you trace changes to billing objects and investigate API requests. Use activity logs for object changes and API logs for request details.

## Activity logs

Activity logs record actions initiated through the Dashboard, the API or the system. Entries identify the affected object, the action and when it occurred. When available, they also identify the user and the changes made.

See [Activity logs](https://getlago.com/docs/v2/guide/logs.md#activity-logs) for Dashboard instructions, filters and API examples.

## API logs

API logs contain recorded requests and their responses. Use them to investigate a failed request or trace changes made by an integration. They do not represent every request sent to Lago.

See [API logs](https://getlago.com/docs/v2/guide/logs.md#api-logs) for request fields, filters and retrieval examples.

## Access and retention

Access requires the relevant permissions, a premium license and available log storage. API keys need `activity_log` or `api_log` read permission for the corresponding endpoint.

Records available through the API are limited to the configured retention period. See [API keys](https://getlago.com/docs/v2/guide/security/api-keys.md) to configure integration access.

## Security events

For authentication, API key and team-access changes, use [Security logs](https://getlago.com/docs/v2/guide/security/security-logs.md).


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