> For the complete documentation index, see [llms.txt](https://docs.metacopier.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metacopier.io/features/basic-features/audit-logs.md).

# Audit logs

Every time someone makes a request to your MetaCopier API, we capture it. The Audit Logs feature gives you complete visibility into how your API is being used, who's using it, and whether those requests are succeeding or failing. Think of it as a detailed history book for your API, one that helps you understand patterns, troubleshoot problems, and keep your project secure.

You can access Audit Logs in two ways:

* **Project-level**: See all API activity across your entire project by clicking the Audit Logs panel (shield icon) in your project's navigation menu
* **Account-specific**: View activity for a single API key by going to Accounts, clicking the three-dot menu on an account card, and selecting "Audit Logs"

When you open Audit Logs, you'll see a table where each row represents a single API request:

**Timestamp** shows exactly when the request came in, crucial for correlating logs with events.

**HTTP Method** indicates the operation type. POST requests typically create new resources (shown in blue), PUT requests update existing ones (shown in orange), and DELETE requests remove items (shown in red).

**Endpoint** shows which specific API route was called, helping you understand which parts of your API are most used.

**Status Code** tells you whether the request succeeded or failed. We use a traffic light system: green badges (200-299) mean success, yellow badges (400-499) indicate client errors like bad requests, and red badges (500-599) signal server errors.

**Duration** shows processing time in milliseconds-invaluable for spotting performance issues.

**API Key** displays which account made the request using the friendly alias you assigned.

**Actions** provides a button to view detailed information about each request, including headers, request body, response body, and error messages.
