---
title: "Audit log"
method: GET
path: "/v1/audit"
tags: ["Account"]
---

# Audit log

`GET /v1/audit`

## Request

- Base URL: `https://api.briefgate.dev`
- URL: `https://api.briefgate.dev/v1/audit`
- Auth: HTTP bearer

Return recent account-level audit events (key creation, plan changes, logins).

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Audit events

- object
  - `entries` object[]
    - `id` string
    - `action` string
    - `actor_type` 'user' | 'api_key' | 'client' | 'system'
    - `actor_id` string, nullable
    - `target_type` string, nullable
    - `target_id` string, nullable
    - `ip` string, nullable
    - `user_agent` string, nullable
    - `meta` object, nullable
    - `created_at` string, date-time
  - `count` integer: Number of entries in this page.
  - `offset` integer

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/briefgate/apis/briefgate-api.md) · [All operations](https://skmtc.dev/briefgate/apis/briefgate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/briefgate/apis/briefgate-api/revisions/b21afed4748b?raw)
