hosted:lineage:list
Read one page of direct visible parents or children. Returns edges (each with cursor and node) and page_info (has_next_page, has_previous_page, start_cursor, end_cursor). Repeat with --after set to page_info.end_cursor while has_next_page is true, keeping the node and --direction unchanged.
Reference for flywheel hosted:lineage:list.
Command Group
Hosted Repository
Summary
Read one page of direct visible parents or children. Returns edges (each with cursor and node) and page_info (has_next_page, has_previous_page, start_cursor, end_cursor). Repeat with --after set to page_info.end_cursor while has_next_page is true, keeping the node and --direction unchanged.
Effect
read-only
Usage
flywheel hosted:lineage:list <FLAGS> <node_id>Arguments
| Argument | Required | Choices | Description |
|---|---|---|---|
<node_id> | Yes | Node UUID (not a slug) from node_id in hosted:node:list or graph:get. Missing or hidden: 404 where the command loads it. |
Required flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--direction | string | parents, children | Direct neighbours to list: parents or children. |
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--first | integer | 100 | Most edges per page, 1-500, clamped (omitted: 100). | |
--after | string | page_info.end_cursor or an edges[].cursor from the previous page, same node and direction. Omitted: first page. Malformed or another node's: 400. | ||
--projection | string | topology | topology, core | core: node fields with content and summary, no artifacts. topology: same, content and summary empty (a root may keep its banner artifact). full: core plus artifacts (and executions where returned), where offered. Omitted: command default. Relationship IDs vary by command; tree entries are layout only. |
--format | FORMAT | json, tsv, csv, table | Output format for command results. | |
--env | PROFILE | Select a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL. | ||
--out | PATH | Write output to a file path, or use - for stdout. | ||
--open | Open browser-bound URLs when supported. | |||
--no-retry | Disable transient-error retries. | |||
--retry-max | N | Maximum transient-error retry attempts. | ||
--wait | Block on async operations until a terminal state is reached. | |||
--wait-timeout | SECONDS | 600 | Seconds to wait for --wait before timing out. Defaults to 600. | |
--allow-self | Allow mutating the currently active credential. | |||
--timeout | SECONDS | Set the per-request timeout budget in seconds. | ||
--idempotency-key | KEY | Reuse an Idempotency-Key so ambiguous write failures can be retried with the same key. | ||
--force | Force safety-gated operations where supported. | |||
--yes | Confirm forced compute:release-all --force. Other runtime commands do not read --yes. | |||
--debug | Print structured request debugging with secrets masked. | |||
--verbose | Print verbose progress for long-running operations. | |||
-h, --help | Show this help. |
Examples
Read the first page of children.
flywheel hosted:lineage:list n_abc --direction children --first 100Read the next parent page using page_info.end_cursor while has_next_page is true.
flywheel hosted:lineage:list n_abc --direction parents --after <page_info.end_cursor> --projection coreOutput
Default format: human.
| Field | Type |
|---|---|
edges | array<object> |
page_info | object |
hosted:lineage:add
Commit a parent-child lineage relation. Adding a relation that already exists, or one that would make a node its own ancestor (a self-parent included), is refused and nothing is published. The relation belongs to the child's repository.
hosted:lineage:remove
Commit the removal of a lineage relation. Removing a relation that does not exist is refused, not ignored.