# Task

TaskService creates, reads and changes tasks.

`komrad.task.v1.TaskService`

-   [`create_task`](https://komrad.dev/latest/api/task/create-task.md)
    
    Create a task in a workflow.
    
-   [`get_task`](https://komrad.dev/latest/api/task/get-task.md)
    
    Get one task by \`task\_id\` or \`task\_slug\`, with its goal and notes in full.
    
-   [`list_tasks`](https://komrad.dev/latest/api/task/list-tasks.md)
    
    List a workflow's tasks, newest first.
    
-   [`update_task`](https://komrad.dev/latest/api/task/update-task.md)
    
    Change a task's slug, title, goal or notes, by \`task\_id\` or \`task\_slug\`.
    
-   [`set_task_notes`](https://komrad.dev/latest/api/task/set-task-notes.md)
    
    Replace a task's notes, which every agent that joins the task starts from.
    
-   [`archive_task`](https://komrad.dev/latest/api/task/archive-task.md)
    
    Archive a task by \`task\_id\` or \`task\_slug\`, with the live agents on it.
    
-   [`delete_tasks`](https://komrad.dev/latest/api/task/delete-tasks.md)
    
    Delete tasks' worktrees, by \`task\_ids\` or \`task\_slugs\`, archiving the tasks first.
