Listing the audit log entries of the admin API¶
Note
The Admin API requires no token. The Admin API is typically protected at the network level.
Send the request as GET to the path /admin/v1/audit-log.
Description¶
Returns a log of all mutating Admin API requests (POST, PATCH, DELETE) in reverse-chronological order. Each entry records the caller IP, HTTP method, path, and response status.
Request¶
The following parameters are available:
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit |
query | integer |
no | Maximum number of entries to return. |
offset |
query | integer |
no | Number of entries to skip (for pagination). |
Example¶
Example of the response body:
[
{
"id": "string",
"actor_ip": "string",
"method": "string",
"path": "string",
"status": 0,
"ts": 0
}
]
Responses¶
The endpoint answers the request with the following status codes:
| Status code | Description |
|---|---|
200 |
Audit log entries. |