/user/audit-logFetch organization audit logs
Retrieves audit logs for user activity in your organization. Supply a date_range with start_at and end_at to define the period, and use the optional filters to narrow results. Access is limited to users with the owner or admin role.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Audit log filters and pagination settings. Include date_range with both start_at and end_at to specify the date interval.
Array of activity types to filter the audit logs
Date interval for the logs; include start_at and end_at in yyyy-MM-dd format.
Page number of results.
Number of logs per page. Must be between 10 and 500.
Array of user emails to filter the activity logs.
Details about pagination of the audit logs.
One documented failure
user_not_foundUser not found.
One documented failure
invalid_api_keyAPI key supplied with request is invalid
One documented failure
unauthorizedYou don't have access to this feature. Please contact your organization owner.
One documented failure
invalid_parameterbody must have required property '<field>'
A 400 is returned when the request is invalid, and a 422 is returned when request validation fails; date_range must include start_at and end_at in yyyy-MM-dd format. A 401 is returned when the API key or bearer token is missing or invalid. A 403 is returned if the account has unpaid dues or the authenticated user's role is not owner or admin.