Documentation menu

API reference

81 operations in projects. Raw spec: openapi.json.

GET/api/v1/project-pods/prefs

GET /api/project-pods/prefs

Parameters

NameInTypeRequiredDescription
surfacequerystringNo

Responses

StatusDescription
200

Security: bearer

PUT/api/v1/project-pods/prefs

PUT /api/project-pods/prefs

Request body

PutPodPrefsRequest

Responses

StatusDescription
200

Security: bearer

GET/api/v1/project-pods/settings

GET /api/project-pods/settings?surface=project_task

Parameters

NameInTypeRequiredDescription
surfacequerystringNo

Responses

StatusDescription
200

Security: bearer

PUT/api/v1/project-pods/settings

PUT /api/project-pods/settings — the matrix is an org document.

Request body

PutPodSettingsRequest

Responses

StatusDescription
200
422unknown pod

Security: bearer

GET/api/v1/project-templates

GET /api/project-templates

Responses

StatusDescription
200

Security: bearer

POST/api/v1/project-templates

POST /api/project-templates — stores a blueprint (spec validated); emits `project.template_updated`.

Request body

CreateTemplateRequest

Responses

StatusDescription
200
409template name already in use
422invalid template spec

Security: bearer

PATCH/api/v1/project-templates/{id}

PATCH /api/project-templates/{id} — emits `project.template_updated`.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

PatchTemplateRequest

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)
422invalid template spec

Security: bearer

DELETE/api/v1/project-templates/{id}

DELETE /api/project-templates/{id} — blueprints are data, not live references: projects already instantiated are untouched; emits `project.template_removed`.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)

Security: bearer

POST/api/v1/project-templates/{id}/archive

POST /api/project-templates/{id}/archive

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

ArchiveTemplateRequest

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)

Security: bearer

POST/api/v1/project-templates/{id}/create

POST /api/project-templates/{id}/create — instantiation with the one check the gallery promises first: a billable template cannot start without a contract that bills the chosen client. The refusal is decided in the same transaction that writes the project, with the contract rows locked.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

CreateFromTemplateRequest

Responses

StatusDescription
200
422billing_mismatch: the template bills but the client has no contract

Security: bearer

POST/api/v1/project-templates/{id}/fork

POST /api/project-templates/{id}/fork — copies the current version into a new org-owned template. The fork keeps the plan it was tuned from, which is what makes a shipped template safe to improve.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

ForkTemplateRequest

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)
409a template with this name already exists
422validation failed

Security: bearer

GET/api/v1/project-templates/{id}/gallery-card

GET /api/project-templates/{id}/gallery-card

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)

Security: bearer

POST/api/v1/project-templates/{id}/instantiate

POST /api/project-templates/{id}/instantiate — expands the template into a REAL project: phases, tasks, dependencies, and every lifecycle event, all in ONE transaction (claim → expand → insert → events → record). Rollback on any failure leaves zero partial rows.

The generic endpoint does not enforce a billing guard; the gallery's `/create` route calls [`instantiate_project`] with one.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

InstantiateTemplateRequest

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)
409version conflict or idempotency key reused
422invalid template spec or request

Security: bearer

GET/api/v1/project-templates/{id}/lessons

GET /api/project-templates/{id}/lessons

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/project-templates/{id}/lessons

POST /api/project-templates/{id}/lessons — records what a closed project taught. The evidence is required in shape (a project or a stated number), because a suggestion without a source is an opinion.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

CreateLessonRequest

Responses

StatusDescription
200
422validation failed

Security: bearer

POST/api/v1/project-templates/{id}/lessons/{lesson_id}/decide

POST /api/project-templates/{id}/lessons/{lesson_id}/decide

Parameters

NameInTypeRequiredDescription
idpathstringYes
lesson_idpathstringYes

Request body

DecideLessonRequest

Responses

StatusDescription
200
409the lesson is already decided

Security: bearer

PUT/api/v1/project-templates/{id}/meta

PUT /api/project-templates/{id}/meta — the catalogue facts a card draws.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

TemplateMetaRequest

Responses

StatusDescription
200
422the effort range is inverted

Security: bearer

GET/api/v1/project-templates/{id}/preview

GET /api/project-templates/{id}/preview — the plan tree, its roles and its shape, before anyone creates a project from it.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)
422the spec does not parse

Security: bearer

GET/api/v1/project-templates/{id}/validate

GET /api/project-templates/{id}/validate — what would break a project created from this version. It checks the document, never the project.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

GET/api/v1/project-templates/{id}/versions

GET /api/project-templates/{id}/versions — every version, newest first, with the current one marked.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)

Security: bearer

POST/api/v1/project-templates/{id}/versions

POST /api/project-templates/{id}/versions — appends a draft. The document is validated as a template spec before it is stored, so a draft that would not instantiate cannot be created.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

AppendVersionRequest

Responses

StatusDescription
200
404template not visible in scope (rls_sparse)
422validation failed

Security: bearer

POST/api/v1/project-templates/{id}/versions/{version}/publish

POST /api/project-templates/{id}/versions/{version}/publish — makes a version the template's current document. Publication is what an instantiation reads, so a draft never changes a project by accident.

Parameters

NameInTypeRequiredDescription
idpathstringYes
versionpathintegerYes

Responses

StatusDescription
200
404template or version not visible in scope (rls_sparse)
422the version does not parse as a spec

Security: bearer

GET/api/v1/project-views

GET /api/project-views — one project's views, or all org views when `project_id` is omitted.

Parameters

NameInTypeRequiredDescription
project_idquery—NoScope to one project's views; omit for the org's ENTIRE view set.

Responses

StatusDescription
200

Security: bearer

POST/api/v1/project-views

POST /api/project-views — saves a view; emits `project.view_updated`.

Request body

CreateViewRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
409view name already in use in the scope
422validation failed

Security: bearer

PATCH/api/v1/project-views/{id}

PATCH /api/project-views/{id} — renames / respecs a view; emits `project.view_updated`.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

PatchViewRequest

Responses

StatusDescription
200
404view not visible in scope (rls_sparse)
422validation failed

Security: bearer

DELETE/api/v1/project-views/{id}

DELETE /api/project-views/{id} — emits `project.view_removed`.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404view not visible in scope (rls_sparse)

Security: bearer

GET/api/v1/projects

GET /api/projects — filtered, newest-first list.

Parameters

NameInTypeRequiredDescription
statusqueryProjectStatus | nullNo
client_idquery—No
limitqueryintegerNo
offsetqueryintegerNo

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects

POST /api/projects — creates the project and emits `project.created` in one transaction. Instant-first (IF1/IF2): idempotency-keyed, version-gated, read-your-write response.

Request body

CreateProjectRequest

Responses

StatusDescription
200
409version conflict or idempotency key reused
422validation failed

Security: bearer

GET/api/v1/projects/my-work

GET /api/projects/my-work — the project-shaped day, without opening a project. Waiting (`blocked`) is its own state and says what it waits on.

Responses

StatusDescription
200

Security: bearer

GET/api/v1/projects/portfolio

GET /api/projects/portfolio

Parameters

NameInTypeRequiredDescription
fromquerystringNo
toquerystringNo
group_byquerystringNo
at_risk_onlyquerybooleanNo
zoomquerystringNo

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/portfolio/share

POST /api/projects/portfolio/share — a link reproduces this exact view.

Parameters

NameInTypeRequiredDescription
fromquerystringNo
toquerystringNo
group_byquerystringNo
at_risk_onlyquerybooleanNo
zoomquerystringNo

Responses

StatusDescription
200

Security: bearer

GET/api/v1/projects/portfolio/shared/{token}

GET /api/projects/portfolio/shared/{token} — the picture that was sent, not a live re-query.

Parameters

NameInTypeRequiredDescription
tokenpathstringYes

Responses

StatusDescription
200
404the link is unknown or expired

Security: bearer

GET/api/v1/projects/{id}

GET /api/projects/{id}

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404not found

Security: bearer

PATCH/api/v1/projects/{id}

PATCH /api/projects/{id} — tri-state partial update. Instant-first (IF1/IF2): idempotency-keyed, version-gated, returns prior + new values.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

PatchProjectRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
409version conflict or idempotency key reused
422validation failed

Security: bearer

GET/api/v1/projects/{id}/baseline

GET /api/projects/{id}/baseline — the most recent capture, or `null` when the project has never been baselined.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)

Security: bearer

POST/api/v1/projects/{id}/baseline

POST /api/projects/{id}/baseline — records what the plan says now.

Every dated task's start and length are copied into its baseline columns and the capture is recorded as an event, so a later slip has something to be late against. Undated tasks stay undated in the baseline too: the capture records the plan, it does not invent one.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

CaptureBaselineRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)

Security: bearer

GET/api/v1/projects/{id}/billing-releases

GET /api/projects/{id}/billing-releases — the release ledger: every staged milestone/fee for this project with its status (`pending` bills on the next run reaching its window; `billed` carries the consuming invoice; `cancelled` terminal).

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/billing-releases/{release_id}/cancel

POST /api/projects/{id}/billing-releases/{release_id}/cancel — cancel a PENDING release (admin correction; terminal). Billed releases are immutable — they ride an invoice, and invoices correct through credit notes.

Parameters

NameInTypeRequiredDescription
idpathstringYes
release_idpathstringYes

Responses

StatusDescription
200
404release not visible/already settled (rls_sparse)

Security: bearer

GET/api/v1/projects/{id}/calendar

GET /api/projects/{id}/calendar — the project's override, or `calendar: null` when the organisation's calendar applies.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)

Security: bearer

PUT/api/v1/projects/{id}/calendar

PUT /api/projects/{id}/calendar — sets the project's working pattern. The project's pattern wins for its own dates; nothing else changes.

No outbox event: the calendar is read when a date is computed, so nothing downstream holds a stale copy of it.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

SetProjectCalendarRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
422validation failed

Security: bearer

DELETE/api/v1/projects/{id}/calendar

DELETE /api/projects/{id}/calendar — drops the override so the organisation's calendar applies again.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404no override to clear

Security: bearer

GET/api/v1/projects/{id}/change-orders

GET /api/projects/{id}/change-orders

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/change-orders

POST /api/projects/{id}/change-orders — an empty draft with three ways in.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

CreateProjectChangeOrderRequest

Responses

StatusDescription
200
422validation failed

Security: bearer

GET/api/v1/projects/{id}/change-orders/{change_order_id}

GET /api/projects/{id}/change-orders/{change_order_id}

Parameters

NameInTypeRequiredDescription
idpathstringYes
change_order_idpathstringYes

Responses

StatusDescription
200
404not visible in scope (rls_sparse)

Security: bearer

PATCH/api/v1/projects/{id}/change-orders/{change_order_id}

PATCH /api/projects/{id}/change-orders/{change_order_id} — drafts only.

Parameters

NameInTypeRequiredDescription
idpathstringYes
change_order_idpathstringYes

Request body

PatchChangeOrderRequest

Responses

StatusDescription
200
409the order is no longer a draft

Security: bearer

POST/api/v1/projects/{id}/change-orders/{change_order_id}/apply

POST .../apply — updates the plan and captures a baseline. It never bills.

Parameters

NameInTypeRequiredDescription
idpathstringYes
change_order_idpathstringYes

Responses

StatusDescription
200
409not approved, or still waiting for the client

Security: bearer

POST/api/v1/projects/{id}/change-orders/{change_order_id}/approve

POST .../approve — approval changes the document only. When the org asks for portal acknowledgement the order waits for the client first.

Parameters

NameInTypeRequiredDescription
idpathstringYes
change_order_idpathstringYes

Request body

ProjectChangeOrderDecisionRequest

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/change-orders/{change_order_id}/bill

POST .../bill — releases the money through the existing billing seam. A refused release leaves the order applied and records why.

Parameters

NameInTypeRequiredDescription
idpathstringYes
change_order_idpathstringYes

Responses

StatusDescription
200
422the change order carries no amount

Security: bearer

POST/api/v1/projects/{id}/change-orders/{change_order_id}/reject

POST .../reject — the reason is required and stays on the record.

Parameters

NameInTypeRequiredDescription
idpathstringYes
change_order_idpathstringYes

Request body

ProjectChangeOrderDecisionRequest

Responses

StatusDescription
200
422a rejection needs a reason

Security: bearer

POST/api/v1/projects/{id}/change-orders/{change_order_id}/submit

POST .../submit — the author's last editable moment.

Parameters

NameInTypeRequiredDescription
idpathstringYes
change_order_idpathstringYes

Responses

StatusDescription
200

Security: bearer

GET/api/v1/projects/{id}/client-updates

GET /api/projects/{id}/client-updates

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/client-updates

POST /api/projects/{id}/client-updates — drafts from what moved in the period. With no movement it records a withheld update with the reason and returns it; it never produces a cheerful empty letter.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

DraftUpdateRequest

Responses

StatusDescription
200
422the period ends before it starts

Security: bearer

PATCH/api/v1/projects/{id}/client-updates/{update_id}

PATCH /api/projects/{id}/client-updates/{update_id} — drafts only.

Parameters

NameInTypeRequiredDescription
idpathstringYes
update_idpathstringYes

Request body

EditUpdateRequest

Responses

StatusDescription
200
422the body is empty

Security: bearer

POST/api/v1/projects/{id}/client-updates/{update_id}/approve

POST .../approve

Parameters

NameInTypeRequiredDescription
idpathstringYes
update_idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/client-updates/{update_id}/send

POST .../send — the send is the person's act. It is recorded here as the state change; the delivery channel consumes the sent row, so no model can put words in front of a client.

Parameters

NameInTypeRequiredDescription
idpathstringYes
update_idpathstringYes

Responses

StatusDescription
200
409the update was not approved

Security: bearer

POST/api/v1/projects/{id}/client-updates/{update_id}/withhold

POST .../withhold — records the honest refusal and why.

Parameters

NameInTypeRequiredDescription
idpathstringYes
update_idpathstringYes

Request body

WithholdUpdateRequest

Responses

StatusDescription
200
422a reason is required

Security: bearer

GET/api/v1/projects/{id}/gantt

GET /api/projects/{id}/gantt — the dated timeline plus its undated remainder, each phase carrying its budget burn.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

PUT/api/v1/projects/{id}/order

PUT /api/projects/{id}/order — the plan's order, written in one transaction.

A drag is one request, not one request per row: a reorder that half-landed would leave the plan in an order nobody chose. A duplicate id in the request is a client bug and is refused as a shape error; an id that is not the project's is out of scope and answers the same 404 an invisible project does.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

ReorderRequest

Responses

StatusDescription
200
404the project, a phase or a task is not visible in scope (rls_sparse)
422validation failed

Security: bearer

GET/api/v1/projects/{id}/phase-burn

GET /api/projects/{id}/phase-burn — the burn read model: consumed approved billable minutes and card-priced value per phase against the phase's budget, with a typed alert state: `none`, then `warn` from 80 percent, then `over` from 100 percent. Without `financial:read` the amounts and the alert are redacted (RB2).

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)

Security: bearer

GET/api/v1/projects/{id}/phases

GET /api/projects/{id}/phases — ordered by sort_order.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/phases

POST /api/projects/{id}/phases — adds a phase; emits `project.phase_created`.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

CreatePhaseRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
409version conflict or idempotency key reused
422validation failed

Security: bearer

PATCH/api/v1/projects/{id}/phases/{phase_id}

PATCH /api/projects/{id}/phases/{phase_id} — tri-state partial update.

Parameters

NameInTypeRequiredDescription
idpathstringYes
phase_idpathstringYes

Request body

PatchPhaseRequest

Responses

StatusDescription
200
404phase not visible in scope (rls_sparse)
409version conflict or idempotency key reused
422validation failed

Security: bearer

POST/api/v1/projects/{id}/phases/{phase_id}/complete

POST /api/projects/{id}/phases/{phase_id}/complete — stamps the phase completed and, when it is a billing milestone, emits `project.milestone_completed` in the same transaction (the core-billing seam). Instant-first: the idempotency key guarantees a retried completion can never double-emit the billing event.

Parameters

NameInTypeRequiredDescription
idpathstringYes
phase_idpathstringYes

Request body

MutationParams

Responses

StatusDescription
200
404phase not visible in scope (rls_sparse)
409already completed, version conflict, or idempotency key reused

Security: bearer

GET/api/v1/projects/{id}/risk

GET /api/projects/{id}/risk — the deterministic signals this project's facts support, most severe first.

Severity comes from the rule (ADR 0034 decision 11). An AI surface may rank and narrate these, never invent one or raise one's weight.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)

Security: bearer

POST/api/v1/projects/{id}/schedule/apply

POST /api/projects/{id}/schedule/apply — applies the same computation the preview returned, in one transaction, and hands back what to send to `/schedule/revert` to undo it.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

SchedulePlanRequest

Responses

StatusDescription
200
404a task or the project is not visible in scope (rls_sparse)
422validation failed

Security: bearer

POST/api/v1/projects/{id}/schedule/preview

POST /api/projects/{id}/schedule/preview — what a set of moves would do, computed by the same function the apply calls. Nothing is written.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

SchedulePlanRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
422validation failed

Security: bearer

POST/api/v1/projects/{id}/schedule/revert

POST /api/projects/{id}/schedule/revert — restores the values an apply handed back. A task outside the project is refused rather than skipped.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

ScheduleRevertRequest

Responses

StatusDescription
200
404a task or the project is not visible in scope (rls_sparse)
422validation failed

Security: bearer

POST/api/v1/projects/{id}/schedule/scale

POST /api/projects/{id}/schedule/scale — multiplies the length of every dated task in a window. `reschedule` re-ripples the plan from each changed task so successors follow the new lengths.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

ScheduleScaleRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
422validation failed

Security: bearer

GET/api/v1/projects/{id}/tasks

GET /api/projects/{id}/tasks — filtered by phase/status/assignee and the milestone flag, sort_order-ordered.

Parameters

NameInTypeRequiredDescription
idpathstringYes
phase_idquery—No
statusqueryTaskStatus | nullNo
assignee_idquery—No
milestonequery—No
limitqueryintegerNo
offsetqueryintegerNo

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/tasks

POST /api/projects/{id}/tasks — creates the task (optionally with its dependency set) and emits `project.task_created` in one transaction.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

CreateTaskRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
409version conflict or idempotency key reused
422validation failed

Security: bearer

PATCH/api/v1/projects/{id}/tasks/{task_id}

PATCH /api/projects/{id}/tasks/{task_id} — tri-state partial update. `status: "completed"` is rejected: completion runs through the complete endpoint (dependency gating + the billing seam).

Parameters

NameInTypeRequiredDescription
idpathstringYes
task_idpathstringYes

Request body

PatchTaskRequest

Responses

StatusDescription
200
404task not visible in scope (rls_sparse)
409version conflict or idempotency key reused
422validation failed

Security: bearer

PUT/api/v1/projects/{id}/tasks/{task_id}/blocker

PUT /api/projects/{id}/tasks/{task_id}/blocker

Parameters

NameInTypeRequiredDescription
idpathstringYes
task_idpathstringYes

Request body

SetBlockerRequest

Responses

StatusDescription
200
422unknown blocker kind

Security: bearer

DELETE/api/v1/projects/{id}/tasks/{task_id}/blocker

DELETE /api/projects/{id}/tasks/{task_id}/blocker

Parameters

NameInTypeRequiredDescription
idpathstringYes
task_idpathstringYes

Responses

StatusDescription
200

Security: bearer

POST/api/v1/projects/{id}/tasks/{task_id}/complete

POST /api/projects/{id}/tasks/{task_id}/complete — the guarded completion: every finish-to-start dependency must already be completed (typed 409 `task_dependencies_unsatisfied` naming the blockers), then `project.task_completed` fires — plus `project.milestone_completed` when the task is a billing milestone. Instant-first: the idempotency key makes retried completions replay instead of double-billing.

Parameters

NameInTypeRequiredDescription
idpathstringYes
task_idpathstringYes

Request body

MutationParams

Responses

StatusDescription
200
404task not visible in scope (rls_sparse)
409dependencies unsatisfied, already completed, version conflict, or idempotency key reused

Security: bearer

GET/api/v1/projects/{id}/tasks/{task_id}/dependencies

GET /api/projects/{id}/tasks/{task_id}/dependencies

Parameters

NameInTypeRequiredDescription
idpathstringYes
task_idpathstringYes

Responses

StatusDescription
200
404not found

Security: bearer

PUT/api/v1/projects/{id}/tasks/{task_id}/dependencies

PUT /api/projects/{id}/tasks/{task_id}/dependencies — replaces the whole dependency set, cycle-checked over the project graph BEFORE any write; emits `project.task_updated`.

Parameters

NameInTypeRequiredDescription
idpathstringYes
task_idpathstringYes

Request body

SetDependenciesRequest

Responses

StatusDescription
200
404task not visible in scope (rls_sparse)
422dependency set rejected (self-dep, cross-project, or cycle)

Security: bearer

POST/api/v1/projects/{id}/tasks/{task_id}/promote

POST /api/projects/{id}/tasks/{task_id}/promote

Parameters

NameInTypeRequiredDescription
idpathstringYes
task_idpathstringYes

Request body

PromoteRequest

Responses

StatusDescription
200
422no board exists for the ticket

Security: bearer

GET/api/v1/projects/{id}/zones

GET /api/projects/{id}/zones — the change windows and client closures the timeline draws under the bars.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)

Security: bearer

POST/api/v1/projects/{id}/zones

POST /api/projects/{id}/zones — states a window or a closure.

Parameters

NameInTypeRequiredDescription
idpathstringYes

Request body

CreateCalendarZoneRequest

Responses

StatusDescription
200
404project not visible in scope (rls_sparse)
422validation failed

Security: bearer

DELETE/api/v1/projects/{id}/zones/{zone_id}

DELETE /api/projects/{id}/zones/{zone_id} — removes the constraint.

Parameters

NameInTypeRequiredDescription
idpathstringYes
zone_idpathstringYes

Responses

StatusDescription
200
404no such zone in scope

Security: bearer