v1
latestOpenAPI 3.0.12026-07-243686491.1 MBRetrieve audit events filtered by search criteria
Required scope: audit-log:read
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').
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"
}
],
"meta": {
"itemCount": 10,
"perPage": 50,
"after": "1290",
"before": "1200"
}
}