API reference
POSTRequires Bearer token
Record an audit event
/api/logs-audit/events
Submit `/api/logs-audit/events`. Authenticated routes need `Authorization: Bearer {token}` from `POST /api/v1/login`.
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
action Required | string | Action name. e.g. "document.downloaded" |
message | string | Human-readable description. |
metadata | object | Optional extra context. |
Responses
| Status | Meaning |
|---|---|
| 500 | See the example response. |