Audit Logs
Last updated
Was this helpful?
Last updated
Was this helpful?
This document uses the REST API. For more details, see the Authentication for API page.
Search audit logs for an Organization. "api.access" events are omitted from results unless explicitly requested using the events parameter. Supported event types:
/orgs/{org_id}/audit_logs/search
The ID of the organization.
0d3728ec-eebf-484d-9907-ba238019f10b
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
The ID for the next page of results.
The start date (inclusive) of the audit logs search. If not specified, the start of yesterday is used. Dates should be formatted as RFC3339, e.g. 2024-01-02T16:30:00Z.
The end date (exclusive) of the audit logs search. Dates should be formatted as RFC3339, e.g. 2024-01-02T16:30:00Z.
Number of results to return per page.
10
Order in which results are returned.
ASC
ASC
, DESC
Filter logs by user ID.
0d3728ec-eebf-484d-9907-ba238019f10b
Filter logs by project ID.
0d3728ec-eebf-484d-9907-ba238019f10b
Filter logs by event types, cannot be used in conjunction with exclude_events parameter.
Exclude event types from results, cannot be used in conjunctions with events parameter.
Search audit logs for a Group. "api.access" events are omitted from results unless explicitly requested using the events parameter. Some Organization level events are supported as well as the following Group level events:
/groups/{group_id}/audit_logs/search
The ID of the Group.
0d3728ec-eebf-484d-9907-ba238019f10b
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
The ID for the next page of results.
The start date (inclusive) of the audit logs search. If not specified, the start of yesterday is used. Dates should be formatted as RFC3339, e.g. 2024-01-02T16:30:00Z.
The end date (exclusive) of the audit logs search. Dates should be formatted as RFC3339, e.g. 2024-01-02T16:30:00Z.
Number of results to return per page.
10
Order in which results are returned.
ASC
ASC
, DESC
Filter logs by user ID.
0d3728ec-eebf-484d-9907-ba238019f10b
Filter logs by project ID.
0d3728ec-eebf-484d-9907-ba238019f10b
Filter logs by event types, cannot be used in conjunction with exclude_events parameter.
Exclude event types from results, cannot be used in conjunctions with events parameter.