Actions35
- File Actions
- Folder Actions
- Room Actions
- User Actions
Folder → Get Folder History
AI-generatedSummary
Retrieves the activity log (history) of an ONLYOFFICE DocSpace folder, optionally limited to a date range.
Inputs
- Authentication (required) — Auth method used for the request: API Key, Basic Auth, OAuth2, or Personal Access Token. The matching credential must be configured.
- Folder ID (required) — Numeric ID of the folder whose history is requested.
- From Date — Start of the history range. Passed as-is to the API as the fromDate query parameter; sent only if non-empty. The source doesn't validate or document the date format.
- To Date — End of the history range. Passed as-is as the toDate query parameter; sent only if non-empty. The source doesn't validate or document the date format.
Output shape
The response payload from the DocSpace API for the folder's history log, emitted as n8n items. An array response becomes one item per entry, and a single object becomes one item.
The exact fields of each history entry are determined by the DocSpace API and aren't defined in the node source. It is a read-only call (GET api/2.0/files/folder/{folderId}/log). It runs once per input item. With Continue On Fail enabled, a failed item returns an object with an
errormessage instead.
Examples
Example 1: Audit all changes to a folder
Set Folder ID to 12345 and leave From Date and To Date empty to get the full history.
Example 2: Review recent activity in a date window
Set Folder ID, From Date to the start of the window, and To Date to its end. Use the date format the DocSpace API accepts, such as ISO 8601.