List audit logs
List audit log records for chosen objects and actions.
Only admin or organization group admins can access the log records.
Query parameters
Number of results per page
A value used for cursor-based pagination. Obtain this value from the next or previous URLs in a paginated response. Do not construct cursor values manually.
Type of the object on which the action was performed. Available types are document, annotation, user
Type of the action performed.
Multiple actions can be provided as a comma-separated list (e.g. create,update,delete).
Each object_type supports filtering by different actions:
| object_type | Available actions |
|---|---|
| document | create |
| annotation | update-status |
| user | create, delete, purge, update, destroy, app_load, reset-password, change-password |
ID of the object on which the action was performed
Filter for log entries before the given timestamp
Filter for log entries after the given timestamp
Username of the user that performed the action
Response
OK
Example response
{
"results": [
{
"organization_id": 406,
"timestamp": "2024-07-01T07:00:00.000000Z",
"username": "john.doe@example.com",
"object_id": 131,
"object_type": "user",
"action": "update",
"content": {
"path": "api/v1/users/131",
"method": "PATCH",
"request_id": "a7413b88408f6b458f0859059f3cd1c1",
"status_code": 200,
"details": {
"payload": {
"groups": [
"admin"
]
}
}
}
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.