# Tasks

Section: Production. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/tasks/

This page and all 10 operation pages, in 2 files: https://developer.yoprint.com/llms/tasks.txt (operations 1 to 5), https://developer.yoprint.com/llms/tasks-2.txt (operations 6 to 10)

Tasks are the production steps of a job (the work pipeline). Each comes from a task preset, which sets its statuses; a task has dates, a position and assignees.

## Operations (10)

- [Add a task to a job](https://developer.yoprint.com/reference/tasks/v2-job-work-pipeline-store.md): `POST /v2/api/store/{team_slug}/v2/job/{hash_id}/work_pipeline`. Check `success`, not only the HTTP status: when the job's order is neither a draft nor published, this call answers HTTP 200 with…
- [List the tasks of a job](https://developer.yoprint.com/reference/tasks/v2-job-work-pipeline-index-for-job.md): `GET /v2/api/store/{team_slug}/v2/job/{hash_id}/work_pipeline`. Check `success`, not only the HTTP status: when the job's order is neither a draft nor published, this call answers HTTP 200 with…
- [List tasks in a date range](https://developer.yoprint.com/reference/tasks/v1-work-pipeline-calendar.md): `POST /v1/api/store/{team_slug}/work_pipeline/calendar`. Tasks whose start or due date falls in the range, or whose dates span it.
- [Filter tasks](https://developer.yoprint.com/reference/tasks/v1-work-pipeline-filter.md): `POST /v1/api/store/{team_slug}/work_pipeline/filter`. Returns one page of your team's tasks across all jobs that match the filters, in the order you ask for.
- [Get a task](https://developer.yoprint.com/reference/tasks/v2-job-work-pipeline-show.md): `GET /v2/api/store/{team_slug}/v2/work_pipeline/{hash_id}`. Returns one task: its job and order, preset, status, dates, position and assignees.
- [Update a task](https://developer.yoprint.com/reference/tasks/v2-job-work-pipeline-update.md): `PUT /v2/api/store/{team_slug}/v2/work_pipeline/{hash_id}`. Changes a task's name, note, preset, status, position, dates or assignees, and returns it.
- [Assign or unassign a person on a task](https://developer.yoprint.com/reference/tasks/v2-job-work-pipeline-assign.md): `PUT /v2/api/store/{team_slug}/v2/work_pipeline/{hash_id}/assign`. Adds one team member to a task, or removes one.
- [Change a task's status](https://developer.yoprint.com/reference/tasks/v2-job-work-pipeline-change-status.md): `PUT /v2/api/store/{team_slug}/v2/work_pipeline/{hash_id}/status`. Moves a task to another status of its task preset.
- [Reorder tasks](https://developer.yoprint.com/reference/tasks/v1-work-pipeline-bulk-update-position.md): `POST /v1/api/store/{team_slug}/work_pipeline/bulk_update_position`. Sets the position of several tasks at once, as the web app does when you drag tasks on a board or within a job.
- [Delete a task](https://developer.yoprint.com/reference/tasks/v2-job-work-pipeline-destroy.md): `DELETE /v2/api/store/{team_slug}/v2/work_pipeline/{hash_id}`. Deletes a task.
