Retrieve the status and results of a workflow run
GET /runs/{runId} endpoint to check the status of a workflow run and retrieve its results when complete.
PENDING - Workflow is queuedRUNNING - Workflow is currently executingFINISHED - Workflow completed successfullyFAILED - Workflow encountered an errorstatus is FINISHED.The structure matches your workflow’s Result Node configuration.status field and handle all possible states: