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

# List Audit Log

> Listar el audit log con filtros opcionales y paginación.

<ParamField query="action" type="string">
  Filtrar por tipo de acción: `context_switch`, `env_inject`, `git_switch`, `cli_switch`, `error`.
</ParamField>

<ParamField query="success" type="boolean">
  Filtrar por resultado: `true` (exitosos) o `false` (fallidos).
</ParamField>

<ParamField query="project_id" type="string">
  Filtrar por ID de proyecto.
</ParamField>

<ParamField query="limit" type="integer" default="50">
  Máximo de resultados. Máximo permitido: 200.
</ParamField>

<ParamField query="offset" type="integer" default="0">
  Offset para paginación.
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "id": "audit-1",
      "action": "context_switch",
      "project_name": "SaaS Platform",
      "environment": "development",
      "skill_name": null,
      "message": "Context switch completado exitosamente",
      "success": true,
      "duration_ms": 1240,
      "created_at": "2026-04-04T05:15:29"
    },
    {
      "id": "audit-7",
      "action": "cli_switch",
      "project_name": "SaaS Platform",
      "environment": "staging",
      "skill_name": null,
      "message": "Supabase link falló: token expirado",
      "success": false,
      "duration_ms": 2100,
      "created_at": "2026-04-03T22:15:29"
    }
  ]
  ```
</ResponseExample>

<Info>
  El audit log es **inmutable** — solo se pueden leer y crear entradas, nunca modificar o eliminar.
</Info>
