Audit Logs
List audit Logs
List audit logs.
get/v1/audit_logs
Query parameters
cursorstring
Pagination cursor.
per_pageinteger
Number of items to list per page.
date_beforestring datetime
Entries found before this date.
Example:2019-08-30T14:15:22Z
date_afterstring datetime
Entries found after this date.
Example:2019-08-22T14:15:22Z
event_namestring
Example:user.logged_in
Entries matching this event name.
member_idinteger
Example:3252
The id of the member to retrieve.
member_namestring
Example:John Smith
Entries matching this member name.
member_emailstring
Example:john.smith@example.org
Entries matching this member email.
api_token_idstring uuid
Example:fdf075f9-1662-4cf1-9171-af50568158a8
Entries matching this API token id.
ip_addressstring
Example:8.8.8.8
Entries matching this IP address.
Response
Audit logs List
Example response
[
{
"id": 3759,
"date": "2019-08-22T14:15:22Z",
"member_email": "eric@gitguardian.com",
"member_name": "Eric",
"member_id": 1243,
"api_token_id": "41f016f9-d44b-451c-a816-df041c057c6b",
"target_ids": [
"1243",
"2bb559aa-bd72-48ca-b4ba-bf09b1c9a658"
],
"action_type": "READ",
"event_name": "user.logged_in"
}
]