> For the complete documentation index, see [llms.txt](https://docs.steadybit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.steadybit.com/integrate-with-steadybit/audit-log.md). Agents can also search and read this documentation through its [MCP server](https://docs.steadybit.com/~gitbook/mcp).

# Audit log

The audit log retains historical information about actions triggered within the Steadybit platform. For example, the audit logs help to answer questions such as:

* When was the experiment executed, by whom, and which hosts did it affect?
* When did we engage the experiment kill switch?

## What is logged

The audit log records:

* **Experiment runs** — the full lifecycle of every run, including each step and each attacked target, who started it and how, and changes to its properties
* **The** [**emergency stop**](https://docs.steadybit.com/use-steadybit/experiments/emergencystop.md) — when it was engaged and released
* **Experiments, templates, schedules, and experiment suites** — creation, changes, and deletion
* **Teams, users, and access** — teams, invitations, memberships, and access tokens
* **Environments, services, and service profiles** — including their variables
* **Configuration** — properties, webhooks, preflight action integrations, hubs, and tenant settings

Each entry records who triggered it (a user, an access token, or a schedule), when, and the affected team and environment.

## Access the audit log

You can access the audit log through the `/api/audit-log` endpoint or with the [Steadybit CLI](https://docs.steadybit.com/integrate-with-steadybit/cli.md) (`steadybit audit-log`). For more information, please see our [API documentation](https://platform.steadybit.com/api/swagger/swagger-ui/index.html?configUrl=/api/spec/swagger-config#/Audit%20Log).

## Retention

Audit logs are retained for up to *90 days* for our SaaS platform. Customers leveraging an on-premise Steadybit platform installation can extend the retention through the `steadybit.auditlog.retention.period` configuration option. The configuration option accepts shorthands for time units, e.g., `90d` for 90 days.
