Skip to content

tasks

All tasks assigned to a provider or client

Arguments

after · Cursor · Cursor to fetch results after
created_by_self · Boolean · Nil -> does nothing, false -> tasks created by others, true -> tasks created by current user
sort_by · String · <column-name>_<order> (i.e completed_asc, assignee_desc)

Returns

[Task!]

Example

query tasks(
$after: Cursor
$client_id: String
$completed_status: String
$created_by_self: Boolean
$keywords: String
$offset: Int
$per_page: Int
$show_hidden: Boolean
$sort_by: String
$order_by: TaskOrderKeys
$type: String
$withoutPagination: Boolean
) {
tasks(
after: $after
client_id: $client_id
completed_status: $completed_status
created_by_self: $created_by_self
keywords: $keywords
offset: $offset
per_page: $per_page
show_hidden: $show_hidden
sort_by: $sort_by
order_by: $order_by
type: $type
withoutPagination: $withoutPagination
) {
client
client_id
complete
completed_at
completed_by_id
content
created_at
created_by_generator_id
created_by_id
creator
cursor
due_date
hidden
id
note
note_path
position
priority
ref_source
reminder
seen
smart
smart_category
updated_at
user
user_id
}
}