Get a single audit log entry
GET/audit/:id
Returns a single audit log entry by ID.
Request
Path Parameters
The audit entry ID.
Responses
- 200
- 401
- 403
- 404
- 500
Audit entry found.
- application/json
- Schema
- Example (from schema)
Schema
entry
object
required
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.
{
"entry": {
"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
}
Audit entry not found.
- 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
}