Skip to content

Get an audit log entry.

GET
/api/admin/audit-logs/{id}
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/audit-logs/example \
--header 'Authorization: Bearer <token>'

Get Audit Log in the Admin Miscellaneous area. Use this operation to retrieve audit log data without mutating tenant state. Retained whole-row archives are included in supported log queries. A bounded query that cannot read its required rows returns log_query_incomplete instead of partial statistics or an empty success.

id
required
string
X-Tenant-Id
string

Tenant selector for multi-tenant admin requests.

event_at
integer
<= 9007199254740991

Optional event time in Unix milliseconds to narrow the lookup. Without this hint the current Iceberg snapshot is also searched. Additional detail permissions still apply.

The audit entry, including its retained details and optional resolved user.

Media type application/json
object
id
required
string
action
required
string
createdAt
required
string format: date-time
metadata
object | null
user
object | null
key
additional properties
Example generated
{
"id": "example",
"action": "example",
"createdAt": "2026-04-15T12:00:00Z",
"metadata": "example",
"user": "example"
}
X-Authrim-Log-Consistency
string
Allowed values: snapshot eventual local_hot_only

Snapshot for the remote scheduled view; eventual when Pipeline visibility can lag ingestion; local_hot_only for local scheduled staging without a remote Catalog.

X-Authrim-Log-Pending-Deliveries
integer

Tenant deliveries not yet confirmed visible. Omitted for self-service subjects. Zero does not guarantee immediate Pipeline visibility.

X-Authrim-Log-Complete
boolean

True only for a complete bounded snapshot query. Pipeline responses remain false; incomplete reads return 503.

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

The retained log query is incomplete. No partial entries or statistics are returned as a successful result. Narrow the period or retry.

Media type application/json
object
error
required
string
Allowed value: log_query_incomplete
error_description
required
string
complete
required
boolean
key
additional properties
Example
{
"error": "log_query_incomplete",
"complete": false
}