Get Workspace Audit Logs
Get audit logs for a workspace.
<Warning title="Enterprise & workspace API token only">This endpoint requires an Enterprise workspace and a workspace token with the `workspace_activity:read` scope. Create a workspace token from your workspace dashboard integrations page to use this endpoint.</Warning>
Required scope | `workspace_activity:read`
Path parameters
workspace_id_or_slug
Unique identifier or slug for a Workspace
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Query parameters
limit
Maximum number of records to be returned (max limit: 100)
offset
Offset used for pagination if the results have more than limit records
sortOrder
Sorts the results by asc or desc
Allowed values:
eventType
The event type to filter by
Allowed values:
from
The start date to filter by
to
The end date to filter by
Response
A list of workspace audit logs
items
pagination
Pagination object