GetItDone Task dependencies API
Finish-to-start links between tasks — what a task is blocked by and what it blocks. The graph is guaranteed acyclic, and blocked state is derived on read rather than stored.
Finish-to-start links between tasks — what a task is blocked by and what it blocks. The graph is guaranteed acyclic, and blocked state is derived on read rather than stored.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nowgetitdone-com:nowgetitdone-com-task-dependencies-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: GetItDone Task dependencies API
version: 1.0.0
description: 'The public GetItDone REST API — AI-native task management for people and agents. Authenticate with a `gid_` API key (or OAuth 2.1 access token) via `Authorization: Bearer`.'
contact:
name: GetItDone support
url: https://nowgetitdone.com
email: support@devino.ca
servers:
- url: https://app.nowgetitdone.com
description: Production
security:
- bearerAuth: []
tags:
- name: Task dependencies
x-displayName: Task dependencies
description: Finish-to-start links between tasks — what a task is blocked by and what it blocks. The graph is guaranteed acyclic, and blocked state is derived on read rather than stored.
paths:
/v1/tasks/{task_id}/dependencies:
get:
operationId: listTaskDependencies
summary: Get a task's dependencies
description: '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`.'
tags:
- Task dependencies
security:
- bearerAuth: []
x-scopes:
- tasks:read
x-entitlement: public_api
x-idempotent: false
x-meter:
metric: API_CALLS
cost: 1
parameters:
- in: path
name: task_id
schema:
type: string
pattern: ^(?:T-)?[0-9]{1,12}$
description: Task short id, e.g. `T-123` (a bare `123` is also accepted on input).
example: T-123
examples:
- T-123
required: true
description: Task short id, e.g. `T-123` (a bare `123` is also accepted on input).
responses:
'200':
description: The task's dependencies in both directions.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
RateLimit-Policy:
required: true
description: IETF draft-11 structured-field policy list, burst window first, e.g. `"per-key-minute";q=120;w=60, "api-calls-period";q=50000;w=2592000`.
schema:
type: string
description: IETF draft-11 structured-field policy list, burst window first, e.g. `"per-key-minute";q=120;w=60, "api-calls-period";q=50000;w=2592000`.
RateLimit:
required: true
description: IETF draft-11 current state of the primary (burst) policy, e.g. `"per-key-minute";r=97;t=42`.
schema:
type: string
description: IETF draft-11 current state of the primary (burst) policy, e.g. `"per-key-minute";r=97;t=42`.
X-RateLimit-Limit:
required: true
description: Primary window request allowance (de-facto trio).
schema:
type: string
description: Primary window request allowance (de-facto trio).
X-RateLimit-Remaining:
required: true
description: Requests remaining in the primary window.
schema:
type: string
description: Requests remaining in the primary window.
X-RateLimit-Reset:
required: true
description: Unix epoch seconds at which the primary window resets.
schema:
type: string
description: Unix epoch seconds at which the primary window resets.
content:
application/json:
schema:
$ref: '#/components/schemas/TaskDependencies'
'401':
description: Missing or invalid credentials — `missing_credentials`, `invalid_api_key` or `invalid_token`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Authenticated but denied — `insufficient_scope` or `feature_not_enabled`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such resource in this organization — `resource_not_found`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Over a limit — `rate_limited` (burst; retry after `Retry-After`) or `quota_exhausted` (billing-period allowance).
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Unexpected server error — `internal_error`; quote `request_id` when reporting.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
post:
operationId: addTaskDependency
summary: Record a blocker
description: 'Records that the task in the path is blocked by `blocker_task_id` — the SAME operation the MCP `link_task_dependency` tool executes. Recording a link that already exists succeeds unchanged (no duplicate row, no second webhook), so retries are safe. A link that would close a loop is REFUSED with 409 `dependency_cycle`: the graph a client reads is guaranteed acyclic. A task cannot block itself (400 `validation_failed`), and a blocker in another organization is indistinguishable from one that does not exist (404 `resource_not_found`). Answers the task''s full dependency view, so the caller can see whether it is now blocked without a second call.'
tags:
- Task dependencies
security:
- bearerAuth: []
x-scopes:
- tasks:write
x-entitlement: public_api
x-idempotent: true
x-meter:
metric: API_CALLS
cost: 1
parameters:
- in: path
name: task_id
schema:
type: string
pattern: ^(?:T-)?[0-9]{1,12}$
description: Task short id, e.g. `T-123` (a bare `123` is also accepted on input).
example: T-123
examples:
- T-123
required: true
description: Task short id, e.g. `T-123` (a bare `123` is also accepted on input).
- in: header
name: Idempotency-Key
schema:
description: 'Optional client-generated key (1-255 visible ASCII characters; a UUID works) making this POST safely retryable. Retrying with the SAME key and byte-identical body within 24h replays the stored first response (marked `Idempotency-Replayed: true`, never re-executed, never charged against quota). The same key with a different body answers 422 `idempotency_key_reused`; a retry racing the first execution answers 409 `idempotency_in_progress`. Omitting the header executes normally with no idempotency guarantee.'
type: string
minLength: 1
maxLength: 255
description: 'Optional client-generated key (1-255 visible ASCII characters; a UUID works) making this POST safely retryable. Retrying with the SAME key and byte-identical body within 24h replays the stored first response (marked `Idempotency-Replayed: true`, never re-executed, never charged against quota). The same key with a different body answers 422 `idempotency_key_reused`; a retry racing the first execution answers 409 `idempotency_in_progress`. Omitting the header executes normally with no idempotency guarantee.'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AddTaskDependencyBody'
responses:
'200':
description: The task's dependencies after the link was recorded.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
RateLimit-Policy:
required: true
description: IETF draft-11 structured-field policy list, burst window first, e.g. `"per-key-minute";q=120;w=60, "api-calls-period";q=50000;w=2592000`.
schema:
type: string
description: IETF draft-11 structured-field policy list, burst window first, e.g. `"per-key-minute";q=120;w=60, "api-calls-period";q=50000;w=2592000`.
RateLimit:
required: true
description: IETF draft-11 current state of the primary (burst) policy, e.g. `"per-key-minute";r=97;t=42`.
schema:
type: string
description: IETF draft-11 current state of the primary (burst) policy, e.g. `"per-key-minute";r=97;t=42`.
X-RateLimit-Limit:
required: true
description: Primary window request allowance (de-facto trio).
schema:
type: string
description: Primary window request allowance (de-facto trio).
X-RateLimit-Remaining:
required: true
description: Requests remaining in the primary window.
schema:
type: string
description: Requests remaining in the primary window.
X-RateLimit-Reset:
required: true
description: Unix epoch seconds at which the primary window resets.
schema:
type: string
description: Unix epoch seconds at which the primary window resets.
content:
application/json:
schema:
$ref: '#/components/schemas/TaskDependencies'
'400':
description: Malformed request — `validation_failed` (see `errors`; a malformed `Idempotency-Key` header lands here too).
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid credentials — `missing_credentials`, `invalid_api_key` or `invalid_token`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Authenticated but denied — `insufficient_scope` or `feature_not_enabled`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such resource in this organization — `resource_not_found`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'409':
description: 'A request with this Idempotency-Key is still executing — `idempotency_in_progress`. `dependency_cycle`: Dependency link would create a loop.'
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'422':
description: Idempotency-Key reused with a different request body — `idempotency_key_reused`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Over a limit — `rate_limited` (burst; retry after `Retry-After`) or `quota_exhausted` (billing-period allowance).
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Unexpected server error — `internal_error`; quote `request_id` when reporting.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
/v1/tasks/{task_id}/dependencies/{blocker_task_id}:
delete:
operationId: removeTaskDependency
summary: Remove a blocker
description: Removes the blocked-by link between the two tasks — neither task is otherwise touched, and completion history is untouched. Removing a link that is not there succeeds unchanged, so retries are safe. When this frees the task (its last OPEN blocker is gone), the `task.unblocked` webhook fires — the same event a blocker being completed or archived produces. Answers the task's full dependency view after the removal.
tags:
- Task dependencies
security:
- bearerAuth: []
x-scopes:
- tasks:write
x-entitlement: public_api
x-idempotent: false
x-meter:
metric: API_CALLS
cost: 1
parameters:
- in: path
name: task_id
schema:
type: string
pattern: ^(?:T-)?[0-9]{1,12}$
description: Task short id, e.g. `T-123` (a bare `123` is also accepted on input).
example: T-123
examples:
- T-123
required: true
description: Task short id, e.g. `T-123` (a bare `123` is also accepted on input).
- in: path
name: blocker_task_id
schema:
type: string
pattern: ^(?:T-)?[0-9]{1,12}$
description: The blocker to unlink from the task in the path.
example: T-123
examples:
- T-123
required: true
description: The blocker to unlink from the task in the path.
responses:
'200':
description: The task's dependencies after the link was removed.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
RateLimit-Policy:
required: true
description: IETF draft-11 structured-field policy list, burst window first, e.g. `"per-key-minute";q=120;w=60, "api-calls-period";q=50000;w=2592000`.
schema:
type: string
description: IETF draft-11 structured-field policy list, burst window first, e.g. `"per-key-minute";q=120;w=60, "api-calls-period";q=50000;w=2592000`.
RateLimit:
required: true
description: IETF draft-11 current state of the primary (burst) policy, e.g. `"per-key-minute";r=97;t=42`.
schema:
type: string
description: IETF draft-11 current state of the primary (burst) policy, e.g. `"per-key-minute";r=97;t=42`.
X-RateLimit-Limit:
required: true
description: Primary window request allowance (de-facto trio).
schema:
type: string
description: Primary window request allowance (de-facto trio).
X-RateLimit-Remaining:
required: true
description: Requests remaining in the primary window.
schema:
type: string
description: Requests remaining in the primary window.
X-RateLimit-Reset:
required: true
description: Unix epoch seconds at which the primary window resets.
schema:
type: string
description: Unix epoch seconds at which the primary window resets.
content:
application/json:
schema:
$ref: '#/components/schemas/TaskDependencies'
'400':
description: '`validation_failed`: Request validation failed.'
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: Missing or invalid credentials — `missing_credentials`, `invalid_api_key` or `invalid_token`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: Authenticated but denied — `insufficient_scope` or `feature_not_enabled`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such resource in this organization — `resource_not_found`.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: Over a limit — `rate_limited` (burst; retry after `Retry-After`) or `quota_exhausted` (billing-period allowance).
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'500':
description: Unexpected server error — `internal_error`; quote `request_id` when reporting.
headers:
x-request-id:
required: true
description: Unique id for this request — present on EVERY response; quote it in support requests.
schema:
type: string
description: Unique id for this request — present on EVERY response; quote it in support requests.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
components:
schemas:
AddTaskDependencyBody:
type: object
properties:
blocker_task_id:
type: string
pattern: ^(?:T-)?[0-9]{1,12}$
description: The task that must finish FIRST. It must be in the same organization as the task in the path.
example: T-123
examples:
- T-123
required:
- blocker_task_id
description: The blocker to record for the task in the path.
TaskStatus:
type: string
enum:
- TODO
- IN_PROGRESS
- IN_REVIEW
- COMPLETED
- BLOCKED
description: Task workflow status.
FieldError:
type: object
properties:
pointer:
type: string
description: RFC 6901 JSON Pointer to the offending request field.
example: /name
examples:
- /name
code:
type: string
description: Machine-readable per-field validation code.
example: invalid_type
examples:
- invalid_type
message:
type: string
description: Human-readable explanation for this field.
required:
- pointer
- code
- message
additionalProperties: false
description: A single field-level validation failure.
TaskDependencyRef:
type: object
properties:
task_id:
type: string
pattern: ^(?:T-)?[0-9]{1,12}$
description: Task short id, e.g. `T-123` (a bare `123` is also accepted on input).
example: T-123
examples:
- T-123
title:
type: string
description: The other task's title (its current version).
example: Ship the public API
examples:
- Ship the public API
status:
$ref: '#/components/schemas/TaskStatus'
open:
type: boolean
description: Whether this task is still outstanding — not COMPLETED and not archived. Only OPEN blockers hold work back, so this is the flag `is_blocked` aggregates.
required:
- task_id
- title
- status
- open
additionalProperties: false
description: A task on the other end of a dependency link.
Problem:
type: object
properties:
type:
type: string
description: URI identifying the problem class; resolves to its docs page.
example: https://nowgetitdone.com/docs/api/problems/validation-failed
examples:
- https://nowgetitdone.com/docs/api/problems/validation-failed
title:
type: string
description: Short human-readable summary of the problem class. Never parse it — switch on `code`.
status:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: HTTP status code, duplicated from the response.
example: 400
examples:
- 400
detail:
description: Human-readable explanation specific to this occurrence.
type: string
code:
type: string
enum:
- missing_credentials
- invalid_api_key
- invalid_token
- insufficient_scope
- feature_not_enabled
- validation_failed
- resource_not_found
- rate_limited
- quota_exhausted
- idempotency_key_missing
- idempotency_key_reused
- idempotency_in_progress
- webhook_url_rejected
- delivery_already_pending
- conflict
- dependency_cycle
- internal_error
description: Stable machine-readable problem code — the value SDKs branch on.
request_id:
type: string
description: The x-request-id of the failing request — quote it in support requests.
errors:
description: Field-level failures (present on validation_failed).
type: array
items:
$ref: '#/components/schemas/FieldError'
required:
- type
- title
- status
- code
- request_id
additionalProperties: false
description: RFC 9457 problem document with the GetItDone `code` extension.
TaskDependencies:
type: object
properties:
task_id:
type: string
pattern: ^(?:T-)?[0-9]{1,12}$
description: The task this view is for.
example: T-123
examples:
- T-123
is_blocked:
type: boolean
description: 'DERIVED on every read: true when at least one entry in `blocked_by` is still `open`. Never a stored column and never written to the task''s `status` — a blocked task keeps whatever status its owner set.'
blocked_by_count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: How many tasks must finish first, open or not — `blocked_by.length`.
example: 2
examples:
- 2
blocking_count:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: How many tasks wait on this one — `blocking.length`.
example: 1
examples:
- 1
blocked_by:
type: array
items:
$ref: '#/components/schemas/TaskDependencyRef'
description: Tasks that must finish before this one can be worked on, oldest link first.
blocking:
type: array
items:
$ref: '#/components/schemas/TaskDependencyRef'
description: Tasks waiting on this one, oldest link first — the other direction of the same edges.
required:
- task_id
- is_blocked
- blocked_by_count
- blocking_count
- blocked_by
- blocking
additionalProperties: false
description: Both directions of a task's blocker graph, one hop out, plus its derived blocked state.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: A `gid_` API key ([Profile → API Keys](https://app.nowgetitdone.com/settings/api-keys)) or an OAuth 2.1 access token.