Skip to content

List audit log entries.

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

List Audit Logs in the Admin Miscellaneous area. Use this operation to retrieve audit log data without mutating tenant state.

X-Tenant-Id
string

Tenant selector for multi-tenant admin requests.

page
integer
>= 1
limit
integer
>= 1 <= 500

Successful JSON response.

Media type application/json
object
items
required
Array<object>
object
id
string
tenant_id
string
admin_user_id
string
admin_email
string
admin_user_name
string | null
actor_type
string
actor_id
string
actor_display_name
string
action
string
resource_type
string
resource_id
string
result
string
Allowed values: success failure
severity
string
Allowed values: debug info warn error critical
metadata
object
key
additional properties
before
object
key
additional properties
after
object
key
additional properties
created_at
integer
key
additional properties
total
required
integer
page
required
integer
limit
required
integer
totalPages
required
integer
key
additional properties
Example
{
"items": [
{
"id": "audit_123",
"tenant_id": "tenant_123",
"admin_user_id": "admin_123",
"admin_email": "[email protected]",
"action": "admin_policy.create",
"resource_type": "admin_policy",
"resource_id": "policy_123",
"result": "success",
"severity": "info",
"metadata": {},
"created_at": 1770000000000,
"admin_user_name": "Admin User",
"actor_type": "admin_user",
"actor_id": "admin_123",
"actor_display_name": "Admin User"
}
],
"total": 1,
"page": 1,
"limit": 50,
"totalPages": 1
}