List cycles for a project
GET/api/projects/:id/cycles
List cycles for a project. In the default (raw-row) mode archived cycles are excluded unless ?includeArchived=true. ?summary=1 returns the enriched list read model (progress + burndown trend + velocity per cycle) and always excludes archived cycles. In that mode PROGRESS IS LIVE ONLY WHILE A CYCLE IS PLANNED OR ACTIVE (PT-917): a completed cycle reports its frozen close snapshot, described by progress.source and progress.measurement — and every counter is null when that measurement is "unavailable", i.e. the close snapshot is missing or unusable (a non-finite stored counter). ?options=1 (PT-679) returns the SLIM cycle-options list (id / name / owner — every row on this project-scoped endpoint has owner.kind === "project") for the Tasks-page Cycle filter chip — scoped to this project, without the per-cycle progress/burndown computation, and also always excludes archived cycles. includeArchived applies to the raw-row mode only (ignored in both summary and options modes). Mode precedence when flags are combined: options=1 wins over summary=1, which wins over the raw list.
Request
Responses
- 200
- 401
- 403
Successful response
Unauthorized — authentication credentials are missing or invalid
Forbidden — the x-act-as-org selector named an organisation the caller is not an ACTIVE member of (or the caller lacks the required permission).