nodes:render:ancestry
Follow ONE path from a node toward a root, not every ancestor. At a merge choose the visible parent with the lowest node ID; multi_parent_choices lists node_id, candidate_parent_ids and selected_parent_id. Returns path_node_ids and nodes from the top down to the anchor, anchor_node_id, root_node_id, path_node_count, path_edge_count, parent_selection_strategy, incomplete_parent_links (parents that could not be loaded), cycle_detected, truncated (stopped at --max_depth) and max_depth. root_node_id is where the path stopped, not necessarily a true root when truncated or incomplete_parent_links is set. Use hosted:lineage:list --direction parents for every direct parent.
Reference for flywheel nodes:render:ancestry.
Command Group
Nodes & Graph Commands
Summary
Follow ONE path from a node toward a root, not every ancestor. At a merge choose the visible parent with the lowest node ID; multi_parent_choices lists node_id, candidate_parent_ids and selected_parent_id. Returns path_node_ids and nodes from the top down to the anchor, anchor_node_id, root_node_id, path_node_count, path_edge_count, parent_selection_strategy, incomplete_parent_links (parents that could not be loaded), cycle_detected, truncated (stopped at --max_depth) and max_depth. root_node_id is where the path stopped, not necessarily a true root when truncated or incomplete_parent_links is set. Use hosted:lineage:list --direction parents for every direct parent.
Effect
read-only
Usage
flywheel nodes:render:ancestry <FLAGS>Required flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--node_id | string | Node UUID (not a slug) from node_id in hosted:node:list or graph:get. Missing or hidden: 404 where the command loads it. |
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--max_depth | integer | 256 | Most parent links to follow, 0-4096, clamped. A longer path stops there and sets truncated. | |
--projection | string | topology | core, topology, full | 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
Follow one ancestor path for at most five parent links.
flywheel nodes:render:ancestry --node_id n_abc --max_depth 5Output
Default format: json.
| Field | Type |
|---|---|
anchor_node_id | string |
root_node_id | string |
path_node_ids | array<string> |
path_node_count | integer |
path_edge_count | integer |
nodes | array<object> |
parent_selection_strategy | string |
multi_parent_choices | array<object> |
incomplete_parent_links | array<object> |
cycle_detected | boolean |
truncated | boolean |
max_depth | integer |
nodes:files
List files attached to a node.
nodes:render:summary
Summarize a node tree deterministically and for free, without a model: node titles and summaries as Markdown. Returns anchor_node_id, root_node_ids, node_count, latest_updated_at, markdown (one line per node; first summary line cut to 220 characters) and nodes (node_id, title, depth, full summary, artifact_count, execution_count, updated_at). Covers the same tree as nodes:render:tree, limited by --max_nodes. Of the five summary commands, nodes:render:summary and export:summary:render-pdf call no model and cost nothing; export:summary, export:summary:stream and export:summary:pdf call an outside language model and charge credits.