Skip to content

`GET /api/projects/{id}/backlog/board` (ADR 0039 S8). Workspace-scoped, member-readable: the per-column Kanban board for a project. The project must belong to the caller's authorized workspace (404 otherwise).

GET
/api/projects/{id}/backlog/board
curl --request GET \
--url https://example.com/api/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/backlog/board

GET /api/projects/{id}/backlog/board (ADR 0039 S8). Workspace-scoped, member-readable: the per-column Kanban board for a project. The project must belong to the caller’s authorized workspace (404 otherwise).

id
required
string format: uuid

Project ID

OK

Media typeapplication/json

The board response: one column per state in BOARD_COLUMN_ORDER (CONTRACT). AUD-PERF-008 — the board is bounded: a done item stays on it for BOARD_DONE_WINDOW_DAYS after its last change and a project shows at most BOARD_PROJECT_CARD_CAP cards. truncated is true when the board does not show every item of the project (the cap cut it, or older done items exist); older_done_count is how many done items fell out of the window — they are read through the paged done history.

object
columns
required
Array<object>

One board column: a state plus the cards in it (priority ASC NULLS LAST then created_at — the order list_backlog_items already returns).

object
items
required
Array<object>

One backlog card on the board (ADR 0039 S8 CONTRACT). updated_at is RFC3339. gates_green means precisely “a human drag → done will be ACCEPTED right now” (BE3): the INDEPENDENT audit passed (a backlog.awaiting_human_merge audit row exists) AND the item is CURRENTLY in_review (the state = 'in_review' filter — the merge gate refuses to release any non-in_review item, BE1 — so a parked card carrying a stale marker reads false). It is NOT “merged” and NOT “awaiting release”; the FE uses it to decide whether to offer the drag → done gesture. The reviewer bar (required_reviewers) is orthogonal — a green item may still need N human approvals, which the drag → done records.

object
cancel_reason
string | null
external_id
required
string
gate_phase

SC-1 — the merge gate’s phase for this card: ci_pending (a required commit status of the target repository is pending or absent), awaiting_human_status (an owner-approved status such as gate-class), merge_retry, merge_failed (the forge refuses the configured merge style) or blocked. None when the gate is not waiting on this item.

string | null
gate_pr_url

AUD-UX-004 — the pull request the merge gate evaluated, when known.

string | null
gate_reason

AUD-UX-004 — the merge gate’s stored reason for this card (the forge’s answer for a refused merge, what a wait is waiting for). None when the gate is not holding it.

string | null
gates_green
required
boolean
hold_reason
string | null
id
required
string format: uuid
issue_url
string | null
kind
string | null
labels

SC-2 — the issue’s label names (None when it has none), milestone and URL, and why the item is held or was cancelled; round counts reopen rounds (1 = first delivery). All optional on the wire so an older client (and its fixtures) keeps parsing the card.

Array<string> | null
last_error
string | null
milestone
string | null
priority
integer | null format: int32
readiness
string | null
round
integer | null format: int32
run_id
string | null format: uuid
scope

#532 (U2) — the classification SCOPE axis (small|medium|large), None until classified.

string | null
source
required

The issue SOURCE (linear | notion | a git-provider name), #708 X3 (was tracker).

string
state
required
string
title
string | null
updated_at
required
string
waiting_for
One of:

SC-25 — set on a queued card the dispatcher holds back for a path overlap.

object
blocked_by_external_id
required
string
blocked_by_item_id
required
string format: uuid
overlap_glob
required
string
summary
required

“waiting for #N (overlap: )”.

string
state
required
string
older_done_count
required
integer format: int64
truncated
required
boolean

Example generated

{
"columns": [
{
"items": [
{
"cancel_reason": "example",
"external_id": "example",
"gate_phase": "example",
"gate_pr_url": "example",
"gate_reason": "example",
"gates_green": true,
"hold_reason": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"issue_url": "example",
"kind": "example",
"labels": [
"example"
],
"last_error": "example",
"milestone": "example",
"priority": 1,
"readiness": "example",
"round": 1,
"run_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"scope": "example",
"source": "example",
"state": "example",
"title": "example",
"updated_at": "example",
"waiting_for": {
"blocked_by_external_id": "example",
"blocked_by_item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"overlap_glob": "example",
"summary": "example"
}
}
],
"state": "example"
}
],
"older_done_count": 1,
"truncated": true
}