List tasks

View as MarkdownOpen in Claude
Lists the tasks logged on every website the token can reach, as a JSON:API collection of type `site-tasks` with the usual `links` / `meta` pagination. Each entry carries `site_id` (so a flat page of tasks can be grouped by website without resolving the `site` include), `title`, `content`, `date` (`Y-m-d`, no time component), `is_pending`, `time_spent` (minutes, `null` when not given), `created_at` and `updated_at`. `include=files` adds the task's attachments as `media` resources; `include=site` adds the website. Websites of other organizations answer 404; an unknown filter answers 400 and an invalid value 422. A read-only token is enough. There is no MCP twin of `include`d attachments: the MCP `site-tasks-index` tool answers a flat view instead.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Query parameters

filter[id][]stringOptional

Exact task ids (repeatable)

filter[site][]stringOptional

Exact website ids; every reachable website when omitted (repeatable)

filter[s]stringOptional

Free-text search over the title, content and time spent

filter[started_at]stringOptional

Y-m-d; inclusive lower bound on the task’s date

filter[ended_at]stringOptional

Y-m-d; inclusive upper bound on the task’s date

filter[is_pending]stringOptional

1|0

includestringOptional

site - the website; files - the task’s attachments

sortstringOptional

created_at (default, descending), date; prefix with - to invert

page[number]stringOptional
page[size]stringOptional
Max 50

Response

200 OK
datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional