Retrieve audit logs
Retrieves a list of audit logs filtered by Owner ID with pagination, sorting, and filtering support.
The Owner ID is derived from the token used in the request.
Logs cannot be retrieved for an Owner ID that is different to the one in the token.
Authorization
Authorization: Bearer <sso_token> or Authorization: MxToken <token>
Requires the mx:audit-logging:read scope.
Request
- Base URLhttps://audit-api-prod.datalab.mendix.com/v1
- Auth
- HTTP bearer
- or API key in header Authorization
Query parameters
The outcome of the event
The unique identifier for the affected resource
The unique identifier for the affected resource context
The type of Context
The type of resource (e.g., Company, User, Environment)
Search query
Start date filter, ISO 8601 UTC format
End date filter, ISO 8601 UTC format
Page number for pagination
Maximum number of items per page. The default is 50, the maximum is 100.
Field to sort by
Sort order
Response
Audit logs retrieved successfully
Example response
{
"items": [
{
"internalService": "Backups"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.