pm_log_time
Log a time entry against a task. timeSpent is in minutes (0 to 10080 — 7 days max). startedAt is an ISO-8601 instant marking when the tracked work started. notes is optional (max 10000 chars). The user is set server-side from the JWT — do NOT pass userUuid. API-key scope: time:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Optional notes (max 10000 chars) | |
| 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. | |
| startedAt | No | ISO-8601 instant (e.g. 2026-04-14T09:00:00Z) | |
| timeSpent | Yes | Minutes spent (0–10080, max 7 days) | |
| 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. | |
| taskIdentifier | Yes | Task identifier (tsk_…) |