---
title: "List a task's dependencies"
method: GET
path: "/tasks/{task_id}/dependencies"
tags: ["Tasks"]
---

# List a task's dependencies

`GET /tasks/{task_id}/dependencies`

## Request

- Base URL: `https://api-docs.jackhamr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.jackhamr.ai/tasks/{task_id}/dependencies`
- Auth: none declared

List prerequisite tasks for ``task_id``.

Each edge is returned as ``DependencyOut(from_task_id, to_task_id)``
where ``from_task_id`` is the prerequisite and ``to_task_id`` is the
dependent (always ``task_id``).

## Path parameters

- `task_id` string, required

## Response `200`

Successful Response

- DependencyOut[]
  - `from_task_id` string, required
  - `to_task_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jackhamr/apis/jackhamr-api.md) · [All operations](https://skmtc.dev/jackhamr/apis/jackhamr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/jackhamr/apis/jackhamr-api/revisions/f75d221481d8?raw)
