---
title: "Get subtasks for a task"
method: GET
path: "/sub-tasks/{id}"
tags: ["Subtasks"]
---

# Get subtasks for a task

`GET /sub-tasks/{id}`

Retrieve all subtasks associated with a parent task

## Path parameters

- `id` string, uuid, required

## Response `200`

Subtasks retrieved successfully

- object
  - `done` boolean, required — Indicates if the operation was successful
  - `body` Subtask[], nullable, required — Response data (type varies by endpoint, null if no data)
    - `id` string, uuid
    - `parent_task_id` string, uuid — UUID of the parent task
    - `name` string
    - `description` string, nullable
    - `done` boolean — Completion status
    - `created_at` string, date-time
  - `title` string, nullable — Optional response title
  - `message` string, nullable — Optional message (error message or success notification)

---

[API](https://skmtc.dev/worklenz/apis/worklenz-api.md) · [All operations](https://skmtc.dev/worklenz/apis/worklenz-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/worklenz/worklenz-api/revisions/e44341b9118c/schema)
