---
title: "The firm's API audit trail"
method: GET
path: "/audit-log"
tags: ["Account"]
---

# The firm's API audit trail

`GET /audit-log`

## Request

- Base URL: `https://api.suprememind.ai/v1`
- URL: `https://api.suprememind.ai/v1/audit-log`
- Auth: HTTP bearer

Requires the `read` scope. Metadata only, newest first, paginated by cursor.

## Query parameters

- `limit` integer
- `before` string

## Response `200`

A page of audit events.

- object
  - `object` 'list', required
  - `data` AuditEvent[], required
    - `id` string, required
    - `object` 'audit_event', required
    - `event` string, required
    - `key_id` string, nullable
    - `user_id` integer, nullable
    - `method` string, nullable
    - `route` string, nullable
    - `resource_id` string, nullable
    - `status` integer, nullable
    - `created_at` string, date-time, required
  - `has_more` boolean, required
  - `next_cursor` string, nullable, required

## Other responses

- `400`: The request was malformed.
- `401`: Missing, malformed, unknown or revoked key.
- `403`: The key lacks the scope, the address is not on its allowlist, or API access is off for the account.
- `429`: Too many requests, or too many jobs in flight.

---

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