Use this API to list and retrieve the audit events recorded for an instance or a group.
Get a list of audit events with optional filters and sorting
POST /api/v4/admin/audit_events/search
Note: The date range must be within a single calendar month. If created_after and created_before span multiple months, the created_before date will be adjusted to the end of the month of created_after.
Request body (application/json)
| Property | Type | Description |
|---|---|---|
created_ | String | Start date (inclusive) in ISO8601. |
created_ | String | End date (inclusive) in ISO8601. |
entity_ | Array of strings | Comma- |
page | Integer | Current page number Default: 1Example: 1 |
per_ | Integer | Number of items per page Default: 20Example: 20 |
q | String | Free- |
sort | String | Sort by creation date. Allowed values: created_,created_ |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesAuditEvent
| Property | Type | Description |
|---|---|---|
author_ | String | — |
created_ | String | — |
details | String | — |
entity_ | String | — |
entity_ | String | — |
id | String | — |
target_ | String | — |
target_ | String | — |