Export all audit log entries
GET/audit/export
Returns all audit log entries without pagination for export.
Responses
- 200
- 401
- 403
- 500
All 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
}
]
}
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
}