REST API · audit-events

GET /audit-events

Paginated audit-log read for this project, newest first. Mirrors `list_audit_events` MCP tool. Query: `action`, `entityType`, `entityId`, `since`, `until` (unix ms), `limit`, `offset`.

get_api_audit_events_list

Authentication

  • Bearer

Responses

200

Paginated audit-log rows.

application/json

{
    "total": 12,
    "limit": 50,
    "offset": 0,
    "retentionDays": 365,
    "rows": [
        {
            "id": "c3d4e5f6-7a8b-4c3d-9e4f-1a2b3c4d5e6f",
            "createdAt": "2026-01-15T09:00:00+00:00",
            "actor": "owner@example.com",
            "action": "endpoint.updated",
            "entityType": "endpoint",
            "entityId": "d4e5f6a7-8b9c-4d4e-af5a-2b3c4d5e6f7a",
            "entityLabel": "Lifecycle webhook",
            "diff": {
                "mock": {
                    "before": false,
                    "after": true
                }
            }
        }
    ]
}

← REST API reference