Listing all audit log entries of the organisation¶
Note
SOC accounts cannot call this endpoint with a personal access token. There is no organisation-related token equivalent. Instead, use access via the web application (session authentication).
Sends a GET request to the endpoint /auditLogs.
Description¶
The List-Audit-Logs request returns a list of all audit log entries of the organisation.
Requirements¶
Values of the request: none
Objects: none
Request¶
To request a list of all audit log entries, no additional information is required in the path of the request.
As a result, the user gets one or more objects AuditLogVO with the requested information.
The object provides the following information:
| Attributes | Description | Values |
|---|---|---|
event |
The type of the logged event. | string |
resource |
The type of the resource affected by the event. | string |
resource_identifier |
The identifier of the affected resource. | string |
performed_by |
The name of the user who performed the action. | string |
parameters |
Additional parameters and details of the logged event. | object |
created_at |
The date and time when the event was logged, in ISO 8601 format. | string($date-time) |
Example¶
Example response:
{
"data": [
{
"event": "string",
"resource": "string",
"resource_identifier": "string",
"performed_by": "string",
"parameters": {},
"created_at": "2026-01-01T00:00:00+00:00"
}
],
"links": {
"first": "https://datahub-api.com/api/networks?page=1",
"last": "https://datahub-api.com/api/networks?page=5",
"prev": null,
"next": "https://datahub-api.com/api/networks?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"links": [
{
"url": "https://datahub-api.com/api/networks?page=2",
"label": "Next »",
"active": false
}
],
"path": "https://datahub-api.com/api/networks",
"per_page": 15,
"to": 15,
"total": 64
}
}
Responses¶
The following responses are available:
| STATUS CODE | DESCRIPTION |
|---|---|
| 200 | The request has succeeded. |
| 401 | The request has not succeeded because the user authentication was incorrect. |
| 403 | The request has not succeeded because the user does not have the right permissions. |