Skip to main content
POST
Query tasks

Headers

x-project-id
string<uuid>
required

Project ID for tenant scoping

X-Workspace-Id
string<uuid> | null

Overrides the key's workspace

X-API-Key
string | null

User API key

Body

application/json
view
enum<string>
default:list

'list' for a cursor page of task list items, 'counts' for grouped totals.

Available options:
list,
counts
query
TaskFilterQuery · object

Filter, sort, and pagination. filter is shared by both views.

group_by
enum<string> | null

Group field for view='counts' (status/priority/assignee_id/creator_id). Required for counts.

Available options:
status,
priority,
assignee_id,
creator_id,
page_id

Response

Successful Response

items plus, when include_parents is requested, the immediate parents of this page's items that are not already in items. Parents are page-local context, not part of the paginated sequence.

items
TaskListItem · object[]
required
has_more
boolean
required
next_cursor
string | null
parents
TaskListItem · object[]