Get audit logs
Retrieve audit logs based on specified filters. Returns a paginated list of audit log entries.
This API operation is available for Enterprise-tier organizations with single-tenant environments. To use it you must have audit log access permissions. Contact Instabase Support to request access to audit logs for your organization.
This API operation is not supported by the SDK but you can access it from Python by making direct REST calls, as shown in the sample code.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
This endpoint expects an object.
start
Number of results to skip for pagination
size
Maximum number of results to return
log_type
Type of audit log to filter by. Valid values include:
account_v2
: User account creation logsapi_v2
: API request logsapp_deployment_run_v2
: Deployment run operation logsapp_deployment_v2
: Deployment operation logsapp_v2
: Automation app operation logsdatasource_v2
: Data connection operation logslogin_v2
: User login and authentication logsoauth2_v2
: OAuth token operation logsorg_v2
: Organization role change logsorg_secrets_v2
: Organization secrets operation logsperms_v2
: Membership and role change logs, for the organization, workspaces, and groupsprojects_v2
: Automation project operation logsreview_v2
: Human review operation logsworkspace_v2
: Workspace management operation logs
For details about tracked operations, see Viewing audit logs.
email
Filter logs by user email
start_time
Start time in epoch milliseconds
end_time
End time in epoch milliseconds
Response
Successfully retrieved audit logs
status
data