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. Use the Console, CLI or API below to retrieve that configuration.
To save a JSON file from the Node-RED editor, export the complete flow configuration and download it. Keep the file outside the runtime. See Backing Up and Restoring Flows.
The file contains flow definitions and configuration. Node-RED editor exports omit separately stored node credentials. Record the required node versions, connection settings and external resource references; provide credentials and required state or files separately at the destination. Review literal values in the JSON before sharing it.
To add or replace a runtime's configuration, see Updating the Flows. To export IoT database records, use Archive IoT Data to Object Storage; retrieving flow JSON does not export those records.
- 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.