Create a new API endpoint (under flow runtime) that takes a DIL as input install the flow, runs a test, stop the flow and then returns the result.