Skip to content

List work item dependencies ​

GET/api/v2/workspaces/{slug}/projects/{project_id}/work-items/{work_item_id}/dependencies/

Return the work item's dependencies as one map with all six dependency types as keys. Each value lists the ids of the work items on the other side, from this work item's side: blocked_by holds the work items this one is blocked by.

Empty types come back as empty lists. Work items you can't see are left out. The response isn't paginated.

The map holds ids only. Fetch the work items through the work items API when you need their details.

Path parameters ​

slug:requiredstring

The workspace slug. It appears in your Plane URLs. In https://app.plane.so/my-team/projects/, the slug is my-team.

project_id:requiredstring

The project the resource belongs to. Accepts the project UUID or its bare identifier, for example ENG.

work_item_id:requiredstring

The work item the resource belongs to. Accepts the work item UUID or its PROJ-123 identifier.

Scopes ​

projects.work_items.relations:read

Errors ​

StatusCodeCause
401unauthorizedMissing or invalid credentials.
403forbiddenYou can't view this work item, or your token scope doesn't allow this.
404not_foundNo such workspace, project, or work item, you can't see the work item, or it's archived.
406not_acceptableThe Accept header asks for a representation the API can't produce.
429rate_limitedThrottled. Honor the Retry-After header before retrying.
List work item dependencies
bash
curl -X GET \
  "https://api.plane.so/api/v2/workspaces/my-team/projects/4af68566-94a4-4eb3-94aa-50dc9427067b/work-items/8c3d1f72-4a9e-4b65-9d20-6e1f3b7a5c48/dependencies/" \
  -H "X-Api-Key: $PLANE_API_KEY"
Response200
json
{
  "blocking": ["9c1f0b3d-6d2e-4c9a-8b41-2f7e5a0d6c88"],
  "blocked_by": ["b51d7e09-8a3c-4f62-9e17-4c2a6d8f1b95"],
  "start_after": [],
  "start_before": ["6e2a9d47-1c5b-4f83-a7d0-3b8e4f1c9a62"],
  "finish_after": [],
  "finish_before": []
}