---
title: "Page backwards through this account's recorded activity"
method: GET
path: "/api/audit"
tags: ["audit"]
---

# Page backwards through this account's recorded activity

`GET /api/audit`

## Request

- Base URL: `https://app.nerdit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.nerdit.ai/api/audit`
- Auth: none declared

Return one page of the caller's own trail, newest first.

## Query parameters

- `limit` integer
- `before` string, uuid, nullable
- `include_background` boolean

## Response `200`

Successful Response

- AuditPageView: One page of the caller's trail, newest first, and where to continue. ``next_before`` is present only when there is genuinely more: the query reads one row past the page to find out, so following the cursor never lands on an empty page that looks like the end arriving twice.
  - `entries` AuditEntryView[], required
    - `id` string, uuid, required
    - `occurred_at` string, date-time, required
    - `action` string, required
    - `actor_type` string, required
    - `client_id` string, nullable
    - `target_type` string, required
    - `target_id` string, nullable, required
    - `result` string, required
    - `request_id` string, required
    - `metadata` object, required
  - `next_before` string, uuid, nullable, required

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `422`: Validation Error

---

[API](https://skmtc.dev/nerdit/apis/nerdit-cloud-web.md) · [All operations](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/llms.txt) · [OpenAPI document](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/revisions/06e3b44b58be?raw)
