Skip to navigation

List tasks

View as MarkdownOpen in Claude

Lists the tasks logged on the websites your token can reach, newest first. Use it to review the work done on a website over a period, for example with filter[site][] and a date range, or to find the tasks that are still pending.

Each task belongs to one website. To see the website or the attachments in the same answer, add them with include.

Authentication

AuthorizationBearer

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

Query parameters

filter[id][]stringOptional
Only these tasks, by task id. Several ids match any of them.
filter[site][]stringOptional
Only the tasks of these websites, by website id. Several ids match any of them. Every website your token can reach when omitted.
filter[s]stringOptional

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

filter[started_at]stringOptional

First day to include, as YYYY-MM-DD: tasks whose date is on or after it.

filter[ended_at]stringOptional

Last day to include, as YYYY-MM-DD: tasks whose date is on or before it.

filter[is_pending]stringOptional

1 for only the pending tasks, 0 for only the finished ones.

includestringOptional

Related data to return with each task. Accepted: site (the website) and files (the task's attachments). Separate several with commas.

sortstringOptional

Sort order. Accepted: created_at, date; a leading - reverses the order. Default -created_at, the most recently created first.

page[number]stringOptional
Page number, starting at 1.
page[size]stringOptional

Rows per page, up to 50 (default 15).

Response

200 OK
datalist of objectsOptional
jsonapiobjectOptional
metaobjectOptional