コンテンツにスキップ

Get admin audit log entry

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

Returns one admin audit log entry with actor information and, when permitted, before/after sensitive detail metadata loaded from the detail artifact.

id
required
string

Successful JSON response.

Media type application/json
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
admin_user
One of:
object
id
required
string
email
required
string
name
string | null
key
additional properties
Example
{
"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": {
"id": "admin_123",
"email": "[email protected]",
"name": "Admin User"
},
"actor_type": "admin_user",
"actor_id": "admin_123",
"actor_display_name": "Admin User"
}

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"
}

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"
}