Skip to main content
GET
/
{tenant_id}
/
audit_logs
List audit log entries
curl --request GET \
  --url https://passkeys.hanko.io/{tenant_id}/audit_logs
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "<string>",
    "error": "<string>",
    "meta_http_request_id": "<string>",
    "meta_source_ip": "<string>",
    "meta_user_agent": "<string>",
    "actor_user_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
]

Path Parameters

tenant_id
string<uuid>
required

UUID of the tenant

Required string length: 36
Example:
["1f496bcd-49da-4839-a02f-7ce681ccb488"]

Query Parameters

page
number
default:1

Page to start from

per_page
number
default:20

How many logs should be displayed per page

start_time
string<date-time>

timestamp from where to start the list

end_time
string<date-time>

timestamp on which to end the list

type
string

comma separated list of types to query for

actor_user_id
string

id of the user who performed the action

meta_source_ip
string

ip address from which the action was performed

q
string

the search string

Response

OK

id
string<uuid>
required
type
string
required
meta_http_request_id
string
required
meta_source_ip
string
required
meta_user_agent
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
tenant_id
string<uuid>
required
error
string
actor_user_id
string