Getting the Flows from an IoT Flow Runtime
Get the complete opaque Node-RED flows JSON for a specified IoT Flow Runtime OCID.
An IoT Flow Runtime is identified by one OCID, but its complete Node-RED flows JSON can contain multiple flows. Export the flows from Node-RED as JSON, and then add the JSON to the Flow Runtime on the Flows tab in the OCI Console.
- On the IoT domains list page, select the domain with the flow runtime you want to work with, and then select Flow runtimes. If you need help finding the IoT domains list page, see Listing IoT Domains.
- Select the Flow runtime name to open the IoT Flow Runtime details page.
- Select Flows to view the exported Node-RED flows JSON.
Use the
oci iot flow-runtime get-flowscommand and required parameter to retrieve the complete opaque Node-RED flows JSON from an IoT Flow Runtime.oci iot flow-runtime get-flows --iot-flow-runtime-id <flow-runtime-OCID>For a complete list of parameters and values for CLI commands, see CLI Command Reference.
Run the GetIotFlowRuntimeFlows operation to retrieve flows from an IoT Flow Runtime.
GET /20250531/iotFlowRuntimes/{iotFlowRuntimeId}/flowsThe response contains the complete opaque Node-RED flows JSON without interpreting or transforming its contents.