Create Workspace-level audit logs

Create Workspace-level audit logs. Audit logs can only be created by the Workspace owner on Enterprise Plans.

SecurityAuthorization_Token
Request
path Parameters
workspace_id
required
string

The ID of the Workspace.

Request Body schema: application/json
object

A filter containing the criteria to filter logs by.

applicability
required
string

Type of logs to filter by. Options include auth-and-security and user-activity. Most use cases will use auth-and-security.

object

The pagination request determines where logs should start and how many to return.

Responses
200
post/v3/workspaces/{workspace_id}/auditlogs
Request samples
application/json
{
  • "applicability": "auth-and-security"
}