Hi, is there a way to get the statuses
Hi, is there a way to get the statuses of multiple workflows in a single request? We have a number of workflows that we’d like to be able to get the statuses of, without making multiple parallel calls.
3 Replies
Maybe use this api endpoint, and make a request for each status you're interested in? https://developers.cloudflare.com/api/resources/workflows/subresources/instances/methods/list/
Cloudflare API | Workflows › Instances › List Of Workflow Insta...
Interact with Cloudflare's products and services via the Cloudflare API
I'm afraid this is not what I'm looking for. I understand there's a way to get information about a workflow using the
await env.MY_WORKFLOW.get
, but I'm interested in a way to get statuses of more than one workflow without having to call multiple get
methods in parallel.I'm not talking about
env.MY_WORKFLOW.get
, I'm talking about /accounts/{account_id}/workflows/{workflow_name}/instances
, the http api