API referenceSections

GET /api/v1/tenants/{tid}/audit-events

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/audit-events

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
limitqueryintegeroptional
  • minimum 1
  • maximum 200
cursorquerystringoptional

Responses

200 Page of audit events, newest first

Content type: application/json

object
  • items array<AuditEvent> required
    • seq integer (int64) required
    • tenant_id string required
    • actor_user_id string required
    • action string required
    • resource_type string required
    • resource_id string required
    • details object required
    • actor_email string required
    • impersonator_user_id string optional
    • correlation_id string required
    • ip string required
    • created_at string (date-time) required
  • next_cursor string required
Example
{
  "items": [
    {
      "seq": 0,
      "tenant_id": "string",
      "actor_user_id": "string",
      "action": "string",
      "resource_type": "string",
      "resource_id": "string",
      "details": {},
      "actor_email": "string",
      "impersonator_user_id": "string",
      "correlation_id": "string",
      "ip": "string",
      "created_at": "2026-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "string"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required