vk_get_tasks_4ef472b350b5
Retrieves all tasks from Vikunja projects the user can access. Supports search, filters, sorting, pagination, and expansion for subtasks, buckets, reactions, or comments.
Instructions
Get tasks. Raw Vikunja REST proxy for GET /tasks. Returns all tasks on any project the user has access to. This endpoint does not usually require a request body. Path and query parameters are top-level fields. Original parameter names also accept camelCase and snake_case aliases. Authentication is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s | No | Search tasks by task text. Optional. | |
| page | No | The page number. Used for pagination. If not provided, the first page of results is returned. Optional. | |
| expand | No | If set to `subtasks`, Vikunja will fetch only tasks which do not have subtasks and then in a second step, will fetch all of these subtasks. This may result in more tasks than the pagination limit being returned, but all subtasks will be present in the response. If set to `buckets`, the buckets of each task will be present in the response. If set to `reactions`, the reactions of each task will be present in the response. If set to `comments`, the first 50 comments of each task will be present in the response. You can set this multiple times with different values. Optional. | |
| filter | No | The filter query to match tasks by. Check out https://vikunja.io/docs/filters for a full explanation of the feature. Optional. | |
| sortBy | No | The sorting parameter. You can pass this multiple times to get the tasks ordered by multiple different parametes, along with `order_by`. Possible values to sort by are `id`, `title`, `description`, `done`, `done_at`, `due_date`, `created_by_id`, `project_id`, `repeat_after`, `priority`, `start_date`, `end_date`, `hex_color`, `percent_done`, `uid`, `created`, `updated`. Default is `id`. Optional. | |
| orderBy | No | The ordering parameter. Possible values to order by are `asc` or `desc`. Default is `asc`. Optional. | |
| perPage | No | The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page. Optional. | |
| sort_by | No | The sorting parameter. You can pass this multiple times to get the tasks ordered by multiple different parametes, along with `order_by`. Possible values to sort by are `id`, `title`, `description`, `done`, `done_at`, `due_date`, `created_by_id`, `project_id`, `repeat_after`, `priority`, `start_date`, `end_date`, `hex_color`, `percent_done`, `uid`, `created`, `updated`. Default is `id`. Optional. | |
| order_by | No | The ordering parameter. Possible values to order by are `asc` or `desc`. Default is `asc`. Optional. | |
| per_page | No | The maximum number of items per page. Note this parameter is limited by the configured maximum of items per page. Optional. | |
| filterTimezone | No | The time zone which should be used for date match (statements like Optional. | |
| filter_timezone | No | The time zone which should be used for date match (statements like Optional. | |
| filterIncludeNulls | No | If set to true the result will include filtered fields whose value is set to `null`. Available values are `true` or `false`. Defaults to `false`. Optional. | |
| filter_include_nulls | No | If set to true the result will include filtered fields whose value is set to `null`. Available values are `true` or `false`. Defaults to `false`. Optional. |