pm_read_activity_log
Read the activity log for a scope. scope selects the entity type and identifier is that entity's identifier (use the workspace identifier when scope=workspace). mode is either 'full' (this entity AND everything beneath it) or 'own' (this entity only). Cursor-paginated.
WARNING: every entry has a data field that is a JSON-encoded STRING — to inspect the payload you must double-parse it (parse the response, then JSON.parse(entry.data)). API-key scope: activity_log:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Default 'full' | |
| size | No | 1–100 | |
| scope | Yes | ||
| cursor | No | Opaque cursor from a previous response | |
| account | No | Multi-account auth only: name of the account from X-Dutify-Accounts to use for this call. Ignored in single-account mode (X-API-Key header). When multiple accounts are configured and this is omitted, the call fails with ACCOUNT_REQUIRED listing the available names. list_accounts never requires a selection. | |
| workspace | No | Workspace identifier or exact name for this call. Overrides the configured workspace. For personal keys, discover candidates with list_workspaces and select explicitly. Does not change other calls or expand a workspace key's access. | |
| identifier | Yes | Entity identifier — workspace identifier when scope=workspace, otherwise the space/list/task identifier. |