Public beta — not for production use. Data may be wiped at any time. Questions? Contact us.
Documentation menu

axiom flow run

Invoke a compiled flow and print its result

View as Markdown
<!-- GENERATED by docs/scripts/gen-cli-reference — DO NOT EDIT. Source of truth: the cobra command definitions in cmd/axiom/cmd/. Regenerate from the repo root with: go run ./docs/scripts/gen-cli-reference -->

axiom flow run

Invoke a compiled flow and print its result

Invoke a compiled flow — the artifact id printed by "axiom flow compile" — and wait for the result.

Pass the start node's input as JSON with -d; the ingress transcodes it to protobuf automatically, and the result is decoded back to JSON. Requires a prior "axiom login".

axiom flow run 01J… -d '{"value":"hello"}'

Usage

axiom flow run <artifact-id> [flags]

Flags

FlagShorthandTypeDefaultDescription
--data-dstring{}JSON input for the start node, e.g. -d '{"value":"hi"}'
--help-hboolhelp for run
--jsonboolEmit the full JSON response
--timeoutuint3260Seconds to wait for the flow to complete

See also

  • axiom flow — Author and compile flows (graphs of published nodes)
Related