Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Max number of results that should be returned
1 <= x <= 100
Cursor that indicates where the next page of results should start.
RFC 3339 timestamp of the earliest audit log to return. Cannot be used with 'next_page'.
RFC 3339 timestamp (exclusive). Cannot be used with 'next_page'.
Sort order by timestamp, e.g. date_asc or date_desc. Defaults to date_asc.
date_asc
, date_desc
Optional parameter that can be used to filter which audit logs are returned. If you specify resource_id, you must also specify resource_type.
Optional parameter that can be used to filter which audit logs are returned. If you specify resource_type, you must also specify resource_id.
Response
Success
The next_page parameter is always returned to support ongoing log retrieval. It enables continuous querying, even when some requests return no new data. Save the next_page token from each response and use it for future requests to ensure no logs are missed. This setup is ideal for regular updates via automated processes, like cron jobs, to fetch logs continuously as they become available. When you receive an empty data array, it indicates a temporary absence of new logs, but subsequent requests might return new data.