There are two endpoints to create a flow run:
The first one is used for ad-hoc runs, e.g. if you run a flow from your local IDE.
Use the latter if you want to create a flow run via an API call and let that run be executed by your remote agent. Here is how you can do that: