List Mission overviews.
API version mission-status unreleased
Returns one page of Mission overviews. The order is a total key: createdAt descending, with ties broken by missionId ascending. Paging uses the shared opaque page cursor: pass the nextPageCursor of one response as pageCursor to fetch the next page, and stop when hasNextPage is false. A pageCursor that is malformed, forged or no longer valid is answered with 400 and a problem whose code is invalid_page_cursor.
Parameters
Query Parameters
The number of items to return in one page. The service may apply a smaller maximum.
An opaque pagination token. A consumer passes it back unchanged to fetch the next page and never parses, builds or compares it. It has no relationship to the event stream position that GET /events uses for resuming a stream.
The opaque token from the previous page’s nextPageCursor. Omit it to fetch the first page.
Responses
200
One page of Mission overviews.
One page of Mission overviews, ordered by createdAt descending with ties broken by missionId ascending, plus the shared pagination state.
object
The Mission overviews of this page, in the order the operation defines.
The overview of one Mission: its identity, branch shape, work package counts, progress, lifecycle state and the position of its event log. The fields are defined in MissionHead; this schema closes them, so a record with any other property is invalid. displayNumber is display-only and is never an identifier.
object
When the Mission was accepted, or null while it is not accepted.
The number of work packages in the blocked status lane.
When the Mission was created, an RFC 3339 date-time with an offset.
When the Mission was abandoned, or null. It is the discarded_at key of the raw mapping that load_meta returns; no typed dictionary declares it.
A display-only sequence number assigned when the Mission is consolidated; null before that. It is not unique, repeats across Missions, and must never be used as an identifier.
The number of events in the Mission’s event log.
The human display name of the Mission, the friendly_name key of its meta.json. When the key is empty or absent this contract defines the slug as the display name; that fallback is a rule of this contract and has no code source. Human text. A host path inside it is replaced by [path] and an e-mail address by [email].
The latest moment any work package changed status lane, or null when none has. There is no Mission-level event time, so this is the maximum over the work packages.
The identifier of the last event in the Mission’s event log, or null when the log is empty.
The Mission lifecycle state, derived in this order. 1: discardedAt is set, so discarded. 2: wpTotal is 0 (including an unreadable event log), so draft. 3: any work package is claimed, in_progress, for_review, in_review or approved, so active. 4: otherwise, any work package planned or blocked, so planned. 5: otherwise (every work package done or canceled), active until acceptedAt is set, then done. Two quirks are part of the rule: a Mission whose only remaining work packages are blocked reads as planned, and a Mission whose work packages are all canceled reads as done once acceptedAt is set.
When the Mission was consolidated into its target branch, or null before that. Recorded together with the post-consolidation review baseline.
The first eight characters of missionId, used to disambiguate branch and worktree names. It is derived from missionId, which is always present, so it is always present too; it is never null and never an empty string.
The canonical machine identity of the Mission (a 26-character ULID), the only identifier clients may use for lookup.
The kind of Mission, as an open string (new kinds may appear without a contract change); null when none is recorded.
A provisional hint for the operator, or null. It is one of two English sentences, both embedding the Mission slug: the review-then-accept sentence when the Mission carries a merge baseline and is not accepted, or the consolidate sentence when every work package is done or canceled with at least one done and the Mission is not accepted. It is null once the Mission is accepted and in every other case. A Mission whose work packages are all canceled has no done work package, so its hint is null; that is a deliberate divergence from the replaced dashboard, not an omission. Human text. A host path inside it is replaced by [path] and an e-mail address by [email]. The shape is undecided; see the open decision on #5528.
Weighted readiness and done-only completion of the Mission, computed from the status lanes of its work packages.
object
The number of work packages in the done lane.
The percentage of work packages in the done lane, rounded to four decimals; 0 when there are no work packages.
Names what weightedPercentage means. It is always weighted_readiness, a readiness measure and not a completion measure.
Lane-weighted readiness of the Mission as a percentage from 0 to 100, rounded to four decimals; 0 when there are no work packages.
The human handle of the Mission, a kebab-case slug fixed when the Mission was created.
How many work packages sit in each of the nine status lanes; every key is present and none are grouped.
object
The number of work packages whose current status lane is approved.
The number of work packages whose current status lane is blocked.
The number of work packages whose current status lane is canceled.
The number of work packages whose current status lane is claimed.
The number of work packages whose current status lane is done.
The number of work packages whose current status lane is for_review.
The number of work packages whose current status lane is in_progress.
The number of work packages whose current status lane is in_review.
The number of work packages whose current status lane is planned.
The position at the end of the Mission’s event log, from which a stream resumes. Offset 0 with the empty-input digest means an empty log.
object
The 64-character lowercase hexadecimal SHA-256 digest of the last consumed line, or the digest of the empty input when the offset is 0. The stored attribute is named content_invariant.
The byte offset in the event log just after the last consumed line; 0 means nothing consumed yet.
The branch the Mission lands on, as recorded in its meta.json.
The stored shape of the Mission’s branches and lanes; unknown when none is stored or the stored value is not one of the four known shapes.
The number of work packages the status model holds for the Mission, that is the length of the snapshot’s work package map. It can differ from the number of work package files, because a work package without events is not counted.
Whether another page follows and the token that fetches it.
object
True when another page follows this one.
An opaque pagination token. A consumer passes it back unchanged to fetch the next page and never parses, builds or compares it. It has no relationship to the event stream position that GET /events uses for resuming a stream.
The number of items the service applied as the page size for this response.
400
The page cursor of the list request was refused. The body is a problem details object whose code is invalid_page_cursor.
The problem details body of a refused page cursor: the pageCursor of a list request is malformed, forged or no longer valid. It is a Problem whose code is always invalid_page_cursor and whose status is always 400. A refused request is answered before any page is returned. Consumers branch on code, never on title. It is unrelated to the refusals of the event stream (StreamRefusal) and to the stream cursor.
object
A stable machine-readable code for the problem, such as the name of a refusal reason. Consumers branch on it, never on the title.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies this occurrence of the problem.
The HTTP status code of this occurrence.
A short, human-readable summary of the kind of problem. It does not change between occurrences.
A URI reference that identifies the kind of problem. Absent means about:blank.
The only refusal reason of a page cursor.
The HTTP status of the refusal, always 400 for a refused page cursor.
default
The request failed. The body is a problem details object.
The only non-2xx body of any module. A problem details object in the sense of RFC 9457, served as application/problem+json.
object
A stable machine-readable code for the problem, such as the name of a refusal reason. Consumers branch on it, never on the title.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies this occurrence of the problem.
The HTTP status code of this occurrence.
A short, human-readable summary of the kind of problem. It does not change between occurrences.
A URI reference that identifies the kind of problem. Absent means about:blank.