---
title: "List audit Logs"
method: GET
path: "/v1/audit_logs"
tags: ["Audit Logs"]
---

# List audit Logs

`GET /v1/audit_logs`

List audit logs.

## Query parameters

- `cursor` string
- `per_page` integer
- `date_before` string, datetime — Entries found before this date.
- `date_after` string, datetime — Entries found after this date.
- `event_name` string
- `member_id` integer
- `member_name` string
- `member_email` string
- `api_token_id` string, uuid
- `ip_address` string

## Response `200`

Audit logs List

- object[]
  - `id` integer
  - `date` string, date-time
  - `member_email` string, nullable
  - `member_name` string, nullable — Name of the member at the time he/she did the event. It may differ from the current name of the member if it has been updated since.
  - `member_id` integer, nullable — ID of the member that did the event. Can be null if the member has been deleted since then: in that case use `member_name` and `member_email` to identify the author of the action.
  - `api_token_id` string, uuid, nullable — ID of the API token associated to the event if it was done via the API. Can be null if the action was not performed via the API.
  - `ip_address` string, nullable
  - `target_ids` string[]
  - `action_type` 'READ' | 'CREATE' | 'UPDATE' | 'DELETE' | 'OTHER'
  - `event_name` string
  - `data` object, nullable — Additional data associated to the event.

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
