David Elmakias
12/29/2025, 10:35 AMRahul Rijhwani
12/29/2025, 10:50 AMDavid Elmakias
12/29/2025, 12:05 PMRahul Rijhwani
12/29/2025, 1:21 PMReuven Zabirov
12/29/2025, 2:10 PMReuven Zabirov
12/29/2025, 2:12 PMDavid Elmakias
12/29/2025, 2:13 PMDar Nachmani
12/29/2025, 2:14 PMReuven Zabirov
12/29/2025, 2:15 PMDavid Elmakias
12/29/2025, 2:15 PMReuven Zabirov
12/30/2025, 10:50 AMconst g = await descopeClient.management.flow.run('flow-id', {tenant: 'xxx'});
inside, you can access the data like this:David Elmakias
12/30/2025, 10:59 AMReuven Zabirov
12/30/2025, 11:02 AMDavid Elmakias
12/30/2025, 11:03 AMDavid Elmakias
12/30/2025, 11:03 AMReuven Zabirov
12/30/2025, 11:04 AMReuven Zabirov
12/30/2025, 11:05 AMDavid Elmakias
12/30/2025, 11:09 AMReuven Zabirov
12/30/2025, 11:12 AMDavid Elmakias
12/30/2025, 11:14 AMReuven Zabirov
12/31/2025, 9:36 AMReuven Zabirov
12/31/2025, 9:37 AM# Import the classes
from descope import DescopeClient
from descope.management.common import FlowRunOptions
import sys
def main():
descopeClient = DescopeClient(
project_id=os.getenv("DESCOPE_PROJECT_ID"),
management_key=os.getenv("DESCOPE_MANAGEMENT_KEY")
)
options = FlowRunOptions(tenant="xxx")
d = descopeClient.mgmt.flow.run_flow("flow-id", options=options)
print(d)David Elmakias
12/31/2025, 9:38 AMReuven Zabirov
12/31/2025, 9:38 AMDavid Elmakias
12/31/2025, 9:45 AMReuven Zabirov
12/31/2025, 9:46 AM