<!-- 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 inspect flow
Print a compiled flow's OpenAPI spec (its input schema)
Fetch a compiled flow's OpenAPI spec (GET /graphs/{id}/openapi.json) — the same spec the MCP's axiom_inspect returns for a flow. The artifact id is the one "axiom flow compile" prints (also accepted by "axiom flow run").
axiom inspect flow 01HQY5K7XWZ6N8R2BTEF4... | jq .Usage
axiom inspect flow <artifact-id> [flags]Flags
| Flag | Shorthand | Type | Default | Description |
|---|---|---|---|---|
--help | -h | bool | help for flow |
See also
- axiom inspect — Print the compiled JSON Schema for a node or flow (the shape an invoke must satisfy)
Related