List admin audit log entries for user
GET
/api/admin/admin-audit-log/user/{userId}
Code sample: Shell / cURL
curl --request GET \ --url 'https://auth.example.com/api/admin/admin-audit-log/user/example?page=1&limit=50' \ --header 'Authorization: Bearer <token>'Lists audit log entries for one admin user in the current tenant with page metadata.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” userId
required
string
Query Parameters
Section titled “Query Parameters ” page
integer
Page number.
limit
integer
Page size.
Responses
Section titled “ Responses ”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
severity
string
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", "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}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"}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"}