---
title: "Get task dependencies"
method: GET
path: "/api/v2/task_dependencies"
tags: ["TaskDependency"]
---

# Get task dependencies

`GET /api/v2/task_dependencies`

Returns a paginated list of task dependencies.

Supports filtering by task, dependent task, type (blocking / waiting on / linked), project, creator, and updater.

## Query parameters

- `filter` union — Filter schema for `task_dependency` list endpoints — pass a single condition or a logical group.
  - object — A logical filter group — combine multiple conditions with the `$op` operator.
    - `$op` 'or' | 'and', required — Logical operator combining conditions in this group. `or` matches records satisfying any condition; `and` requires all conditions to match.
  - FilterTaskDependency — Filter parameters for listing task dependencies. Supports filtering by task, dependent task, and dependency type (blocking, waiting_on, linked). Standard ID operators apply.
    - `project_id` union — Filter by project ID (via the associated task).
      - ProjectId — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `not_eq` ProjectId — unresolved $ref
        - `contains` ProjectId — unresolved $ref
        - `eq` ProjectId — unresolved $ref
        - `not_contain` ProjectId — unresolved $ref
    - `deleted_at` union — Filter by deletion date range (deleted_at); use to find soft-deleted dependencies.
      - DeletedAt — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `eq` DeletedAt — unresolved $ref
        - `not_eq` DeletedAt — unresolved $ref
        - `not_contain` DeletedAt — unresolved $ref
        - `contains` DeletedAt — unresolved $ref
    - `dependent_task_id` union — Filter by the dependent task ID (the task that depends on another).
      - object — Filter using explicit operator syntax.
        - `not_contain` DependentTaskId — unresolved $ref
        - `not_eq` DependentTaskId — unresolved $ref
        - `contains` DependentTaskId — unresolved $ref
        - `eq` DependentTaskId — unresolved $ref
      - DependentTaskId — unresolved $ref
    - `updated_at` union — Filter by last update date range (updated_at).
      - object — Filter using explicit operator syntax.
        - `not_contain` UpdatedAt — unresolved $ref
        - `eq` UpdatedAt — unresolved $ref
        - `not_eq` UpdatedAt — unresolved $ref
        - `contains` UpdatedAt — unresolved $ref
      - UpdatedAt — unresolved $ref
    - `updater_id` union — Filter by the person who last updated the dependency.
      - UpdaterId — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `not_contain` UpdaterId — unresolved $ref
        - `eq` UpdaterId — unresolved $ref
        - `not_eq` UpdaterId — unresolved $ref
        - `contains` UpdaterId — unresolved $ref
    - `created_at` union — Filter by creation date range (created_at).
      - object — Filter using explicit operator syntax.
        - `contains` CreatedAt — unresolved $ref
        - `not_eq` CreatedAt — unresolved $ref
        - `eq` CreatedAt — unresolved $ref
        - `not_contain` CreatedAt — unresolved $ref
      - CreatedAt — unresolved $ref
    - `creator_id` union — Filter by the person who created the dependency.
      - CreatorId — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `not_eq` CreatorId — unresolved $ref
        - `contains` CreatorId — unresolved $ref
        - `not_contain` CreatorId — unresolved $ref
        - `eq` CreatorId — unresolved $ref
    - `task_id` union — Filter by the source task ID in the dependency relationship.
      - object — Filter using explicit operator syntax.
        - `not_eq` TaskId — unresolved $ref
        - `contains` TaskId — unresolved $ref
        - `eq` TaskId — unresolved $ref
        - `not_contain` TaskId — unresolved $ref
      - TaskId — unresolved $ref
    - `id` union — Filter by dependency ID.
      - object — Filter using explicit operator syntax.
        - `not_contain` Id — unresolved $ref
        - `contains` Id — unresolved $ref
        - `not_eq` Id — unresolved $ref
        - `eq` Id — unresolved $ref
      - Id — unresolved $ref
    - `type_id` union — Filter by dependency type (blocking, waiting_on, or linked).
      - TypeId — unresolved $ref
      - object — Filter using explicit operator syntax.
        - `not_eq` TypeId — unresolved $ref
        - `contains` TypeId — unresolved $ref
        - `eq` TypeId — unresolved $ref
        - `not_contain` TypeId — unresolved $ref
- `sort` string[]

## Headers

- `X-Organization-Id` string, required

## Response `200`

Collection task dependency

---

[API](https://skmtc.net/productive/apis/api-documentation.md) · [All operations](https://skmtc.net/productive/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/productive/api-documentation/revisions/11e8576224b8/schema)
