コンテンツにスキップ

List operational logs.

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

Lists non-expired operational log summaries for the current tenant. Optional filters match subject type, subject id, action, and actor id; limit is clamped to 1..100.

subject_type
string

Filter by operational-log subject type.

subject_id
string

Filter by operational-log subject id.

action
string

Filter by action name.

actor_id
string

Filter by actor id.

limit
integer
default: 50 >= 1 <= 100

Maximum number of log summaries to return.

Operational log list response.

Media type application/json
object
items
required
Array<object>
object
id
required
string
tenant_id
required
string
subject_type
required
string
subject_id
required
string
actor_id
required
string
action
required
string
request_id
required
string | null
created_at
required
integer format: int64
expires_at
required
integer format: int64
has_detail
required
boolean
key
additional properties
total
required
integer
key
additional properties
Example generated
{
"items": [
{
"id": "example",
"tenant_id": "example",
"subject_type": "example",
"subject_id": "example",
"actor_id": "example",
"action": "example",
"request_id": "example",
"created_at": 1,
"expires_at": 1,
"has_detail": true
}
],
"total": 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"
}

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