Skip to content
TasKadence Developers

What this is: how every list reads — one envelope, one cursor, one filter grammar. When you need it: whenever you read more than one of anything.

Terminal window
curl -G "$TASKADENCE_API_URL/v1/tasks" \
-H "Authorization: Bearer $TASKADENCE_TOKEN" \
--data-urlencode "org_id=$TASKADENCE_ORG" \
--data-urlencode "filter[status]=in_progress,blocked" \
--data-urlencode "sort_by=due_date" \
--data-urlencode "limit=50"
Page 1data: [ … ]Page 2data: [ … ]Last pagenext_cursor: nullnext_cursornext_cursor
Follow next_cursor until it is null

Every list — 28 of them — answers {"data": [...], "next_cursor": "…" | null}. Pass next_cursor back as cursor until it is null. A page can be short, or even empty, while more follow: stop on null, not on a short page.

ParameterMeaning
limitPage size, default 100; silently clamped to 1000. Default 100.
cursorOpaque token from the previous page's next_cursor. Only ever echo it back; offset is ignored when it is given.
sort_byOne of: task_id, title, status, priority, due_date, start_date, created_at, assignee, project_id, priority_rank, status_rank, task_type, blocked_by_count, subtask_count (400 otherwise). Default title.
sort_orderasc or desc (400 otherwise). Default asc.

Filters are repeated filter[<key>] parameters:

  • values are OR within a key (comma-separated or repeated);
  • keys are AND-ed together;
  • an unknown key or value is a 400 that names it (invalid-parameter).

The task list takes:

ParameterMeaning
filter[status]Task status(es), comma-separated or repeated.
filter[priority]Priority(ies), comma-separated or repeated.
filter[assignee]Usernames, or me for the caller.
filter[project]Project ids, or __unfiled__ for tasks without a project (mixable).
filter[tags]Tasks carrying any of these tags.
filter[due_after]YYYY-MM-DD, inclusive.
filter[due_before]YYYY-MM-DD, inclusive.
filter[created_after]YYYY-MM-DD, inclusive.
filter[created_before]YYYY-MM-DD, inclusive.
filter[overdue]true → due before today and not completed.
filter[search]Case-insensitive substring of the title, description, task id or any tag; %, _, *, , and ( are matched literally.
filter[search_fields]all (default) or title to match the title only.
filter[task_type]One or more of task, bug, comma-separated or repeated; any other value (including goal and agent) is a 400.
filter[created_via]Which kind of client created the task: one or more of app (a person in the web app), api, sdk, mcp (agents), or none for tasks created before this was recorded (mixable).
filter[review]Review state: one or more of pending, accepted, rejected, or none for tasks never in review (mixable).
filter[parent]Batch 4: the subtasks of these task ids (comma-separated or repeated) - one call for every subtask of a page; implies subtasks=flat.
filter[blocked]N.1: true → blocked by a live task (blocked_by_count > 0: a dependency not completed, archived or deleted); false → not blocked.
filter[has_subtasks]N.1: true → has subtasks (subtask_count > 0); false → has none.
filter[blocks]N.1: true → blocks a live task (blocks_count > 0); false → blocks none.
filter[created_by]Who made the task (one OR): people, agents, a person (user id, username or me) or an agent key from GET /v1/tasks/agents.

Other lists take the keys their reference page lists.