GetItDoneGetItDone Docs
API ReferenceTask dependencies

Get a task's dependencies

Both directions of the task's blocker graph one hop out: `blocked_by` (must finish first) and `blocking` (waiting on this task), plus the derived `is_blocked`. A task with no links answers an empty view rather than 404. This is not paginated — the answer is a task's immediate neighbours, not a traversal; walk the chain by following each `task_id`.

GET
/v1/tasks/{task_id}/dependencies

Both directions of the task's blocker graph one hop out: blocked_by (must finish first) and blocking (waiting on this task), plus the derived is_blocked. A task with no links answers an empty view rather than 404. This is not paginated — the answer is a task's immediate neighbours, not a traversal; walk the chain by following each task_id.

Authorization

bearerAuth
AuthorizationBearer <token>

A gid_ API key (Settings → API keys) or an OAuth 2.1 access token.

In: header

Path Parameters

task_id*string

Task short id, e.g. T-123 (a bare 123 is also accepted on input).

Match^(?:T-)?[0-9]{1,12}$

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/tasks/string/dependencies"
{  "task_id": "string",  "is_blocked": true,  "blocked_by_count": -9007199254740991,  "blocking_count": -9007199254740991,  "blocked_by": [    {      "task_id": "string",      "title": "string",      "status": "TODO",      "open": true    }  ],  "blocking": [    {      "task_id": "string",      "title": "string",      "status": "TODO",      "open": true    }  ]}