executions:launch

Record a new execution on a node (status `running`) and bump the node's revision. It records status only: it starts no process and provisions no compute, and --provider is just a label stored on the record. To run work, acquire a machine with `compute:acquire` (options: `compute:options`), run it there, then close the record with `executions:terminate`. Needs the node's owner or an admin.

Reference for flywheel executions:launch.

Command Group

Compute & Executions Commands

Summary

Record a new execution on a node (status running) and bump the node's revision. It records status only: it starts no process and provisions no compute, and --provider is just a label stored on the record. To run work, acquire a machine with compute:acquire (options: compute:options), run it there, then close the record with executions:terminate. Needs the node's owner or an admin.

Effect

changes data

Usage

flywheel executions:launch <FLAGS>

Required flags

FlagValueDefaultChoicesDescription
--node_idstringNode UUID (not a slug) from node_id in hosted:node:list or graph:get. Missing or hidden: 404 where the command loads it.
--expected_revisionintegerrevision of node_id (root_node_id for tags) from hosted:node:get or your last write. Stale: 409 (some tools retry once); re-read and retry.

Optional flags

FlagValueDefaultChoicesDescription
--providerstringCompute provider ID, e.g. lambda (see provider in compute:options). Optional filters: omitted means all. Acquire prefixes an unqualified SKU with it; executions and approval requests just store it.
--metadatajsonJSON object stored on the execution record (omitted: \{\}). Nothing reads it to run work.
--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

Launch an execution.

flywheel executions:launch --node_id n_abc --expected_revision 5

Launch an execution with metadata stored on its record.

flywheel executions:launch --node_id n_abc --expected_revision 5 --metadata '{"purpose":"eval"}'

Output

Default format: json.

FieldType
nodeobject
executionobject