v1
latestOpenAPI 3.0.32026-07-24214879985.1 KBThis endpoint filters audit events by userId, targetId, targetType, auditType
Query parameters
Filter by userId
Filter by targetId
Filter by targetType
Filter by locationId
Valid values given by /auditTypes endpoint.
Filter by auditType
Minimum timestamp to list auditlogs.
Maximum timestamp to list auditlogs.
Token string value that references a page for pagination. This value is received when retrieving the first page in the nextPageToken and prevPageToken fields. When a pageToken is provided, the backend remembers search parameters from the original request, so search parameters that affect the result set or order are optional and will be ignored if provided. Representation parameters like include should still be applied.
The number of entries to return per page. The maximum range of valid page sizes is documented with minimum and maximum values, but the range might be further limited dynamically based on the requested information, account, and system status. Values outside of the (dynamic) allowed range will not result in an error, but will be clamped to the nearest limit. Thus, logic to detect the last page should not be based on comparing the requested size with the received size, but on the existence of a nextPageToken value.
Response
List of audit events
Example response
{
"results": [
{
"timestamp": "2021-04-22T00:00:00.000+00:00",
"userId": "ca0de584",
"accountId": "00011557",
"locationId": "2428fda3-389f-48ce-b062-85875dd6b2e2",
"data": [
{
"type": "details",
"id": "ioOutput1",
"header": "IO - Output 1",
"rows": [
{
"id": "turnOnOutput",
"label": "Turn on output",
"value": "relay_1",
"oldValue": "relay_old"
}
]
}
]
}
]
}