Retrieve audit events filtered by search criteria
Changed onRequired scope: audit-log:read
Request
- Base URLhttps://partner-api.monta.com
- URLhttps://partner-api.monta.com/api/v1/auditlog/events
- AuthHTTP bearer
Query parameters
Limit results to a certain operator
Limit results to events caused by the user with this id. Supports comma-separated values for multiple IDs (e.g. '85,1').
Limit results to events caused in the context of the team with this id
Only return events caused on this type of entity. Supports comma-separated values for multiple types (e.g. 'Team,ChargePoint').
Only return events on the entity with this ID (use in conjunction with entityType)
Only return events that logged this action. Supports comma-separated values for multiple actions (e.g. 'CREATE,UPDATE').
Only return events that logged this operation. Supports comma-separated values for multiple operations (e.g. 'REBOOT,UNLOCK').
Only return events initiated by this kind of actor. Supports comma-separated values for multiple types (e.g. 'USER,SYSTEM').
Free-text search in matching events
Only return events before this point in time (ISO 8601 format)
Only return events after this point in time (ISO 8601 format)
The maximum number of results to return
Cursor (event id) to retrieve results ordered after a certain event. Use this with a cursor from meta.after to retrieve the next page of results.
Cursor (event id) to retrieve results ordered before a certain event. Use this with a cursor from meta.before to retrieve the previous page of results. This parameter is ignored if afteris provided in the request as well.
Response
List of events that match the criteria
Example response
{
"data": [
{
"id": "MTcwNjYyMTcwMDEyM3xfTVF0eG8wQjVXRnNEN194ZC1uaw==",
"timestamp": "2024-02-22T18:01:26.242Z",
"operatorId": 1,
"teamId": 1,
"action": "UPDATE",
"entityId": "1",
"entityType": "Team",
"operation": "REBOOT",
"source": {
"type": "SYSTEM"
}
}
],
"meta": {
"itemCount": 10,
"perPage": 50,
"after": "1290",
"before": "1200"
}
}Changes
- info
added the new optional
queryrequest parameteroperation - info
added the new optional
queryrequest parametersourceType - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info