Export workspace activities
Exports a workspace’s activity log over a date window as a downloadable file. The window is from/to (inclusive, YYYY-MM-DD); it defaults to the last 30 days and is capped at 366 days. The same type (repeatable) and actor filters as the feed apply. format is csv (default) or json. Each activity is a flat row: timestamp, the type split into object/action, the actor, and the acted-on object’s id and label, oldest first. At most 100,000 rows are returned (the oldest in the window); a truncated export sets the X-Export-Truncated response header.
Path Parameters
Workspace identifier.
Query Parameters
Account id whose activities to keep. Omit for any actor.
Keep only these activity types (e.g. document.created). Repeat the type
parameter for several; omit for no type constraint.
The type of activity performed in a workspace, for audit logging.
Corresponds to the ACTIVITY_TYPE PostgreSQL enum and categorizes the
activities that occur within workspaces for a comprehensive audit trail.
"workspace.created"First day of the range (inclusive), YYYY-MM-DD. Defaults so the range
spans the last DEFAULT_WINDOW_DAYS days through to.
Last day of the range (inclusive), YYYY-MM-DD. Defaults to today (UTC).
Output format; defaults to csv.
"csv"Response
The exported activity log.