---
title: "Get audit events"
method: GET
path: "/v1/admin/audit-events"
tags: ["admin"]
---

# Get audit events

`GET /v1/admin/audit-events`

Retrieve audit events with optional filtering and pagination.

## Query parameters

- `action` string, nullable — Filter by action type (e.g., BAN_MINER)
- `target_type` string, nullable — Filter by target type
- `target_id` string, nullable — Filter by target ID
- `actor_hotkey` string, nullable — Filter by actor hotkey
- `since` string, date-time, nullable — Filter: at or after (ISO 8601)
- `until` string, date-time, nullable — Filter: at or before (ISO 8601)
- `limit` integer — Number of events to return
- `offset` integer — Offset for pagination

## Response `200`

Successful Response

- AuditEventsResponse
  - `total` integer, required — Total entries matching filter
  - `limit` integer, required — Page size
  - `offset` integer, required — Page offset
  - `events` AuditEventEntry[], required — Audit event entries
    - `event_id` string, uuid, required — Unique event identifier
    - `action` string, required — Action that was performed
    - `target_type` string, required — Type of entity targeted
    - `target_id` string, required — Identifier of the targeted entity
    - `actor_hotkey` string, required — Hotkey of the admin who performed the action
    - `reason` string, nullable — Reason for the action
    - `details` object, nullable — Additional event details
    - `created_at` string, date-time, required — When the event occurred

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/oroagents/apis/oro-api.md) · [All operations](https://skmtc.dev/oroagents/apis/oro-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oroagents/oro-api/revisions/38ef86138115/schema)
