Skip to content

get_workflow_run

Check status of a running workflow.
Returns step information while in progress. Can be used to display a compact progress summary, and to display the completed/total ratio.
Returns full results (asset URLs, metadata, price) only when generation is complete.
Pass `wait_seconds` to hold the call until the run or a step changes, then call again while it is in progress.

For multi-step workflow guidance, call get_workflow_instructions.

Parameters

ParameterTypeDefaultDescription
run_idrequiredstring (uuid)—The workflow run ID.
wait_secondsinteger0–250Seconds to wait for the run or one of its steps to change before returning. 0 returns the current state at once.