---
title: "Operator action history for this brand; filters: organization, action (or prefix.), actor, from, to (over the newest 2000)"
method: GET
path: "/operator/audit"
tags: ["Operator"]
---

# Operator action history for this brand; filters: organization, action (or prefix.), actor, from, to (over the newest 2000)

`GET /operator/audit`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/operator/audit`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Query parameters

- `limit` integer
- `offset` integer, nullable
- `organizationId` string, uuid
- `action` string: an action (trial.extend) or a prefix ending in a dot (trial.)
- `actor` string: part of the operator's e-mail address, or their user id
- `from` string, date-time
- `to` string, date-time

## Response `200`

Audit log

- object
  - `items` object[], required
    - `id` string, uuid, required
    - `actorUserId` string, uuid, required
    - `actorEmail` string, required
    - `action` string, required
    - `targetType` string, required
    - `targetId` string, required
    - `targetOrganizationId` string, uuid, nullable, required
    - `reason` string, required
    - `details` object, required
    - `createdAt` string, required: ISO-8601 timestamp
  - `total` integer, required
  - `limit` integer, required
  - `offset` integer, required
  - `scanned` integer: rows the filter looked at (newest first); absent without a filter
  - `truncated` boolean: true: there are more rows than the filter looked at; narrow the search

## Other responses

- `400`: Invalid request (code invalid_request)
- `403`: An action on an operator-console session older than 5 minutes (code forbidden, details.reauthenticate: sign in again at /admin/login), or an operator removed since the session was resolved
- `404`: Not found (code not_found); also the answer to any request without a live operator-console session (no admin cookie, a dashboard session, an API/MCP key or OAuth token, or a caller who is not a platform operator)
- `429`: Too many requests (code rate_limited); see Retry-After
- `501`: Not available on this server (code not_configured)

---

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