Join Slack
Powered by
Hi, We are using this api to create a flow run to ...
# prefect-cloud
r
Roshan Shrestha
01/30/2024, 4:02 PM
Hi, We are using this api to create a flow run to start flow from deployment
https://app.prefect.cloud/api/docs?deviceId=3d75bd4f-9075-4058-9ef5-bffcc73c8cca#tag/Deployments/operation/create[…]yments__id__create_flow_run_post
. This api returns success when the flow starts and does not give status of the flow run , for which we have to make another request with flow run id, but is there a way we can trigger a flow and get the status of flow run and error message synchronously in single request
j
Jake Kaplan
01/30/2024, 4:44 PM
Hi, that endpoint will create a flow run that always has status
SCHEDULED
It won't have a different status or error until that run is picked up and orchestrated.
👍 1
r
Roshan Shrestha
01/30/2024, 10:43 PM
But are there other endpoint which can do the synchronous call for the flow run get result?
Open in Slack
Previous
Next