Execute a Circuit

The sample code below illustrates executing a circuit by referring to its unique circuit ID and passing key-value pairs as the input to the circuit in the form of a dictionary.

The circuit reference used below is already defined in the component instance page.

    
copy
#Execute a circuit result = circuit.execute(5249000000108030, name="Test_Circuit")

A sample response is shown below :

    
copy
{
id: "5249000000108030",
name: "Test_Circuit",
start_time: "Aug 18, 2021 07:35 PM",
status: "running",
status_code: 1,
execution_meta: {},
circuit_details: {
name: "Test_Circuit",
ref_name: "testcircuit",
description: "",
instance_id: "70454fc5-3bf6-45af-81ca-2742cc049698"
},
input: { name: "Aaron Jones" }
}

Last Updated 2023-12-18 16:20:08 +0530 +0530

ON THIS PAGE

ON THIS PAGE
ACCESS THIS PAGE