# Practice tasks

> Read your practice's tasks: who they're assigned to, their status and when they're due.

Source: https://docs.usejump.co.uk/api-reference/tasks

* **Scope:** `read_tasks`, granted explicitly; existing keys don't gain it automatically. It reads every task in the practice, not one staff member's "my tasks" view. An assignee id you pass is a filter, not authority to act as that person.
  * **What's included:** subtasks, tasks with no patient, and completed, archived and snoozed tasks are all listed by default.
  * **Statuses:** `open`, `in_progress`, `completed` and `cancelled` (shown as "Archived" in Jump). Tasks with an unknown status are excluded.
  * **Dates are kept as recorded.** `due_at`, `completed_at` and `snoozed_until` are separate facts. Snoozing doesn't move the due date, and the API doesn't compute a "current work queue" or repair inconsistent older records.
  * **Instructions can contain patient information,** which is why tasks have their own scope. Titles and descriptions over 1,000 and 20,000 characters are refused rather than truncated.
  * **Returned:** id and number, patient, title, description, category, status, urgency, assignee and team, parent task, dates and version. &#x2A;*Not returned:** comments, activity, user profiles, linked records and consultation context. Patient-portal tasks are a separate thing.

  ## Listing

  Filters: `patient_id`, one of `assignee_user_id` / `assignee_team_id` / `parent_task_id`, `status`, `urgency`, `due_at_gte`, `due_at_lte` (UTC, `YYYY-MM-DDTHH:mm:ssZ`), plus `limit` (default 20, max 100) and `offset` (max 100,000). An empty, repeated or unknown parameter, or a date range that ends before it starts, returns `422`. A reference you can't see returns `404`, even when the list would be empty. Newest first. See [Pagination](https://docs.usejump.co.uk/getting-started/pagination). Responses carry `Cache-Control: no-store`.

  Creating, completing, snoozing, reassigning and deleting tasks are not part of this API.
## List permitted practice tasks

`GET /tasks`

API-key scope: `read_tasks`

Requires read_tasks on a live organisation key. Includes patient and
non-patient tasks, subtasks, completed, archived and snoozed history.
This is not a delegated user's current work queue. Cancelled means
archived; snooze does not change due_at. Sort: created_at DESC, id DESC.
Unknown, repeated and empty query parameters are rejected. Exposed
patient, assignee and parent references are verified before projection.
Patient portal actions and task mutations are separate operations.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `limit` | query | integer | no |  |
| `offset` | query | integer | no |  |
| `patient_id` | query | string (uuid) | no |  |
| `assignee_user_id` | query | string (uuid) | no |  |
| `assignee_team_id` | query | string (uuid) | no | Choose at most one user or team assignment filter |
| `parent_task_id` | query | string (uuid) | no |  |
| `status` | query | string | no | One of: `open`, `in_progress`, `completed`, `cancelled`. |
| `urgency` | query | string | no | One of: `routine`, `urgent`. |
| `due_at_gte` | query | string (date-time) | no |  |
| `due_at_lte` | query | string (date-time) | no |  |

### Responses

- `200` Bounded task page with no-store caching
- `403` Missing live task read authority
- `404` Task or reference is unavailable to this practice
- `422` Invalid query
- `500` Task read failed

## Retrieve one permitted practice task

`GET /tasks/{id}`

API-key scope: `read_tasks`

Requires read_tasks. Accepts no query parameters; does not expose linked-entity payloads or portal action links.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string (uuid) | yes |  |

### Responses

- `200` Task metadata and instructions with no-store caching
- `403` Missing live task read authority
- `404` Task or reference is unavailable to this practice
- `422` Invalid identifier or query
- `500` Task read failed
