Get Workspace Audit Logs

Get audit logs for a workspace.

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.

Required scope | workspace_activity:read

Path parameters

workspace_id_or_slugstringRequiredformat: "objectid"

Unique identifier or slug for a Workspace

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

limitintegerOptional

Maximum number of records to be returned (max limit: 100)

offsetintegerOptional

Offset used for pagination if the results have more than limit records

sortOrderenumOptional

Sorts the results by asc or desc

Allowed values:
eventTypeenumOptional

The event type to filter by

Allowed values:
fromstringOptionalformat: "date-time"

The start date to filter by

tostringOptionalformat: "date-time"

The end date to filter by

Response

A list of workspace audit logs

itemslist of objectsOptional
paginationobjectOptional

Pagination object

Errors