Projects
Delivery boards with milestones, tasks, status updates, and cross-links. Projects carry human keys (PRJ-118); detail routes accept either the key or the numeric id.
Auth: all calls require a Bearer JWT plus the X-Workspace-Id header.
/api/projectsAuth requiredList projects with issue and milestone rollups.
Query Parameters
| Field | Type | Required | Note |
|---|---|---|---|
| col | string | No | "doing" | "queued" | "blocked" |
| team | string | No | — |
| search | string | No | Matches name, key, and overview |
| limit | number | No | Default 50, max 200 |
| offset | number | No | Default 0 |
Response
{
"projects": [
{
"id": 5,
"key": "PRJ-118",
"name": "Onboarding v2",
"col": "doing",
"progress": 60,
"issue_total": 12,
"issue_done": 7,
"milestone_total": 4,
"milestone_done": 2
}
],
"total": 1
}/api/projectsAuth requiredCreate a project. The server mints the next PRJ-nnn key for the workspace.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| name | string | Yes | — |
| team | string | No | — |
| owner | string | No | — |
| col | string | No | Default "queued" |
| starts_at | string | No | — |
| ends_at | string | No | — |
| health | string | No | — |
| progress | number | No | 0–100, default 0 |
| overview | string | No | Default empty |
Response
{
"id": 6,
"key": "PRJ-119",
"name": "Billing overhaul",
"col": "queued",
"progress": 0,
"created_at": "2026-03-28T10:00:00Z",
"updated_at": "2026-03-28T10:00:00Z"
}/api/projects/{ref}Auth requiredGet one project by key (PRJ-118) or numeric id, with milestones, tasks, updates, linked issues, and links.
Response
{
"id": 5,
"key": "PRJ-118",
"name": "Onboarding v2",
"col": "doing",
"milestones": [ ... ],
"tasks": [ ... ],
"updates": [ ... ],
"issues": [ { "key": "ISS-4821", "title": "Checkout fix", "status": "Done" } ],
"links": [ ... ]
}/api/projects/{ref}Auth requiredUpdate a project. All fields optional.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| name | string | No | — |
| team | string | No | — |
| owner | string | No | — |
| col | string | No | — |
| starts_at | string | No | — |
| ends_at | string | No | — |
| health | string | No | — |
| progress | number | No | — |
| overview | string | No | — |
Response
{
"id": 5,
"key": "PRJ-118",
"name": "Onboarding v2",
"progress": 75
}/api/projects/{ref}/moveAuth requiredBoard drag-drop column change.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| col | string | Yes | "doing" | "queued" | "blocked" |
Response
{
"id": 5,
"key": "PRJ-118",
"col": "blocked"
}/api/projects/{ref}Auth requiredDelete a project with its milestones, tasks, updates, and links. Linked issues are detached but kept.
Response
{ "deleted": "PRJ-118" }Milestones
/api/projects/{ref}/milestonesAuth requiredList a project's milestones, in sort order.
Response
{
"milestones": [
{ "id": 2, "project_id": 5, "name": "Beta cut", "date": "2026-04-10", "done": false, "position": 0 }
],
"total": 1
}/api/projects/{ref}/milestonesAuth requiredAdd a milestone. Appended at the end of the sort order.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| name | string | Yes | — |
| due_date | string | No | — |
Response
{
"id": 3,
"project_id": 5,
"name": "GA launch",
"date": "2026-05-01",
"done": false,
"position": 1
}/api/projects/{ref}/milestones/{milestone_id}Auth requiredUpdate a milestone. All fields optional.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| name | string | No | — |
| due_date | string | No | — |
| done | boolean | No | — |
Response
{
"id": 2,
"project_id": 5,
"name": "Beta cut",
"done": true
}Tasks
/api/projects/{ref}/tasksAuth requiredList a project's tasks, in sort order.
Response
{
"tasks": [
{ "id": 9, "project_id": 5, "title": "Draft launch email", "due": "2026-04-05", "done": false, "assignee": "sam", "position": 0 }
],
"total": 1
}/api/projects/{ref}/tasksAuth requiredAdd a task. Appended at the end of the sort order.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| title | string | Yes | — |
| due | string | No | — |
| assignee | string | No | — |
Response
{
"id": 10,
"project_id": 5,
"title": "Record demo video",
"due": null,
"done": false,
"assignee": null,
"position": 1
}/api/projects/{ref}/tasks/{task_id}Auth requiredUpdate a task. All fields optional.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| title | string | No | — |
| due | string | No | — |
| done | boolean | No | — |
| assignee | string | No | — |
Response
{
"id": 9,
"project_id": 5,
"title": "Draft launch email",
"done": true
}Updates
/api/projects/{ref}/updatesAuth requiredList a project's status updates, newest first.
Response
{
"updates": [
{ "id": 4, "project_id": 5, "kind": "update", "text": "Beta cut moved to Friday", "created_at": "2026-03-28T12:00:00Z" }
],
"total": 1
}/api/projects/{ref}/updatesAuth requiredPost a status update on a project.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| text | string | Yes | — |
| kind | string | No | Default "update" |
Response
{
"id": 5,
"project_id": 5,
"kind": "risk",
"text": "Design review slipped one day",
"created_at": "2026-03-28T14:00:00Z"
}Links
/api/projects/{ref}/linksAuth requiredList a project's cross-links to other entities.
Response
[
{ "id": 1, "project_id": 5, "entity_type": "issue", "entity_key": "ISS-4821", "label": "Launch blocker" }
]/api/projects/{ref}/linksAuth requiredLink a project to another entity.
Request Body
| Field | Type | Required | Note |
|---|---|---|---|
| entity_type | string | Yes | — |
| entity_key | string | Yes | — |
| label | string | Yes | — |
Response
{
"id": 2,
"project_id": 5,
"entity_type": "issue",
"entity_key": "ISS-4822",
"label": "Follow-up"
}/api/projects/{ref}/links/{link_id}Auth requiredDelete a project link.
Response
{ "deleted": 2 }Stats
/api/projects/stats/summaryAuth requiredProject counts by board column.
Response
{
"total": 6,
"by_col": { "doing": 2, "queued": 3, "blocked": 1 }
}