Currently ExecuteCloudScript has parameter for GeneratePlayStreamEvent, but it generates events for all calls to cloud script.
What I would like is the ability to generate the play stream event only if the cloudscript method fails/dies. Getting greedy, I would love this ability for all client API calls and the ability to turn it on and off from the web ui.