Skip to content

List audit logs (admin)

GET
/v1/admin/audit-logs

Returns a paginated list of audit logs with optional filters

action_type
string

Filter by action type

actor_email
string

Filter by actor email

resource_type
string

Filter by resource type

resource_id
string

Filter by resource ID

source
string

Filter by source (api, env-enzo, fluentd)

limit
integer

Pagination limit (default: 20, max: 100)

offset
integer

Pagination offset

sort
string

Sort field (timestamp, -timestamp, created_at, -created_at)

OK

object
data
object
limit
integer
logs
Array<object>
object
action_type
string
actor_email
string
actor_id
string
app_name
string
container_id
string
created_at
string
environment_id
string
environment_name
string
id
string
ip_address
string
level
string
metadata
object
key
additional properties
resource_id
string
resource_type
string
source
string
stage
string
timestamp
string
offset
integer
total
integer
success
boolean

Unauthorized

object
error
string
message
string
Example
Success
success
boolean
Example
true

Forbidden

object
error
string
message
string
Example
Success
success
boolean
Example
true

Internal Server Error

object
error
string
message
string
Example
Success
success
boolean
Example
true