List audit log entries
GET/audit
Returns a paginated list of audit log entries, newest first.
Request
Query Parameters
Possible values: >= 1 and <= 100
Default value: 20
Maximum number of entries to return.
Default value: 0
Number of entries to skip.
Responses
- 200
- 400
- 401
- 403
- 500
List of audit entries.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Total number of audit entries.
items
object[]
required
The audit entries for this page.
Unique identifier for the audit entry.
When the request was processed.
Authenticated user (JWT subject).
Roles from the JWT token.
HTTP method.
Request URL path.
OpenAPI operation ID.
Client IP address.
HTTP response status code.
Request duration in milliseconds.
{
"total_items": 150,
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2026-02-21T10:30:00Z",
"user": "ops@example.com",
"roles": [
"admin"
],
"method": "GET",
"path": "/node/hostname",
"operation_id": "GetNodeHostname",
"source_ip": "192.168.1.100",
"response_code": 200,
"duration_ms": 42
}
]
}
Invalid request parameters.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Unauthorized - API key required.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Forbidden - Insufficient permissions.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
A description of the error that occurred.
Additional details about the error.
The error code.
{
"error": "Failed to retrieve status.",
"details": "Failed due to network timeout.",
"code": 500
}