pm_list_reference_data
List a Dutify reference-data enum (status types, custom-field types, view types, automation action/condition types, access levels, etc.). Returns the authoritative set of values the backend accepts — call this BEFORE guessing enum strings on a create/update payload to avoid 400s. Categories:
custom-field-types: Custom-field type catalogue: text, number, dropdown, date, money, file, rollup, formula, … Use the
identifierfrom each row as thefieldTypevalue when creating a custom field via /v1/lists/{id}/custom-fields or pm_create_custom_field.custom-field-icon-options: Custom-field icon catalogue: supported iconNames, emojiNames, and defaultIconsByFieldType. Use one of these keys as the
emojivalue; keep custom-field names plain. Agent preference: choose a semantically matching emojiNames key when available (severity/urgency=fire, target/goal=direct_hit, launch=rocket, approval/success=white_check_mark, location=pushpin, budget=moneybag); use iconNames for structural/type affordances like CalendarBlank.resource-view-types: Resource view types: list (1), board (2), table (3), dashboard (4), gantt (5), calendar (6), gallery (7), whiteboard (9). The numeric
typeIdis what /v1/views and view-config endpoints accept.status-types: Status type enum — ACTIVE, DONE, CLOSED. Used when grouping tasks or filtering for visibility.
activity-types: Activity log event types — status_changed, task_created, comment_added, automation_executed, etc.
automation-action-types: Automation action types — SET_STATUS, SET_PRIORITY, SET_ASSIGNEES, ADD_COMMENT, etc. Use when building an automation rule.
automation-condition-types: Automation condition types (predicate categories) — STATUS, PRIORITY, DUE_DATE, CUSTOM_FIELD, etc.
automation-field-operators: Operators valid in automation condition predicates — equals, not_equals, greater_than, in, is_set, etc.
access-levels: Entity access levels — VIEW, COMMENT, EDIT, FULL — used in user/team access grants.
workspace-access-level-permissions: Workspace role → permission map (OWNER/ADMIN/MEMBER/GUEST). Tells you which capabilities each role grants.
Auth: the resources are @PermitAll for anonymous callers, but the ApiKeyScopeFilter still gates API-key requests. The metadata:read scope covers custom-field-types / custom-field-icon-options / resource-view-types / status-types / activity-types / access-levels / workspace-access-level-permissions. The three automation-* categories live under /v1/automation/* and require automations:read instead. If the API key lacks the required scope the call returns 403 — pick a category your key covers, or have the user mint a key with both metadata:read and automations:read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| category | Yes | Which reference-data enum to list. | |
| 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. |