Skip to content
Start in Cloud

Export instance audit log

GET
/api/admin/system/audit/export
curl --request GET \
--url 'https://hitkeep.com/api/admin/system/audit/export?format=json' \
--cookie hk_token=<hk_token>

Exports matching instance-level audit entries as JSON or CSV. The export limit defaults to 10000 rows and is capped at 50000 rows.

action
string

Optional exact action filter.

target_type
string

Optional target type filter.

outcome
string

Optional outcome filter, for example success or failure.

actor_id
string format: uuid

Optional actor user ID filter.

from
string format: date-time

Optional RFC3339 lower time bound.

to
string format: date-time

Optional RFC3339 upper time bound.

query
string

Optional free-text search over action, actor, target, outcome, IP, request ID, and details.

format
string
Allowed values: json csv

Export format. Defaults to json.

limit
integer
>= 1 <= 50000

Maximum number of exported rows. Defaults to 10000.

Audit export

Invalid audit filter

Media type application/json
object
message
string
Example generated
{
"message": "example"
}

Forbidden

Media type application/json
object
message
string
Example generated
{
"message": "example"
}