export:summary:pdf

Write a model-backed summary as a PDF to the required --out path (--out=- writes to stdout). Sends selected nodes' non-empty summaries to an outside language model (OpenRouter by default, through LiteLLM) and bills usage to your credits (credits:balance). Empty summaries are left out; if all are empty, refuses with 400 and no charge. Usage is charged before PDF compilation, so a failed compile is still charged. The PDF embeds the selected nodes' full export:subgraph document in its metadata. 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.

Reference for flywheel export:summary:pdf.

Command Group

Export & Import Commands

Summary

Write a model-backed summary as a PDF to the required --out path (--out=- writes to stdout). Sends selected nodes' non-empty summaries to an outside language model (OpenRouter by default, through LiteLLM) and bills usage to your credits (credits:balance). Empty summaries are left out; if all are empty, refuses with 400 and no charge. Usage is charged before PDF compilation, so a failed compile is still charged. The PDF embeds the selected nodes' full export:subgraph document in its metadata. 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.

Effect

changes data

Usage

flywheel export:summary:pdf <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--node_idsstringNode UUIDs from node_id in hosted:node:list or graph:get. Missing or hidden: 404 on reads, exports and merges; bulk writes skip and list them. Comma-separated.

Optional flags

FlagValueDefaultChoicesDescription
--formatFORMATjson, tsv, csv, tableOutput format for command results.
--envPROFILESelect a CLI profile; unconfigured default requires FLYWHEEL_BASE_URL.
--outPATHWrite output to a file path, or use - for stdout.
--openOpen browser-bound URLs when supported.
--no-retryDisable transient-error retries.
--retry-maxNMaximum transient-error retry attempts.
--waitBlock on async operations until a terminal state is reached.
--wait-timeoutSECONDS600Seconds to wait for --wait before timing out. Defaults to 600.
--allow-selfAllow mutating the currently active credential.
--timeoutSECONDSSet the per-request timeout budget in seconds.
--idempotency-keyKEYReuse an Idempotency-Key so ambiguous write failures can be retried with the same key.
--forceForce safety-gated operations where supported.
--yesConfirm forced compute:release-all --force. Other runtime commands do not read --yes.
--debugPrint structured request debugging with secrets masked.
--verbosePrint verbose progress for long-running operations.
-h, --helpShow this help.

Examples

Generate a model-written PDF, charged even if compilation fails.

flywheel export:summary:pdf --node_ids n1 --out=./summary.pdf

Output

Default format: binary.

application/pdf bytes written to --out.