Skip to main content
Returns one run you started with Start a run: its status, the agents working on it, and, once it’s COMPLETED, the report’s id, title, summary, link, and full text.
Read the run until status is COMPLETED or FAILED. Runs take minutes.

Authorization

This endpoint works with any valid API key. You can only read runs started by the member who created the key. A run started by anyone else, or through the Windmill Dashboard, returns 404 Not Found.

Path parameters

string
required
Your company’s slug. Find it in your Dashboard URL, right after /s/:https://app.gowindmill.com/s/{companySlug}/home
string
required
The run’s id, returned as runId by Start a run. Must be a UUID; anything else returns 400.

Query parameters

boolean
Pass true on your first read right after starting a run, so the response includes the run you just created. Leave it off on later reads.

Response

The response wraps the run in a run object.
string
required
The run’s id.
string
required
The run’s status:
  • RUNNING until the report is finished.
  • COMPLETED when the report is ready. Terminal. output is set.
  • FAILED when the run stopped with an error. Terminal. See failureReason. Start a new run to try again.
string
required
The prompt the run was started with.
string
required
ISO 8601 time the run was started.
string
required
ISO 8601 time of the last activity on the run.
string | null
required
ISO 8601 time the run reached COMPLETED or FAILED; null while it’s running.
string | null
required
Why the run failed, in plain language; null unless status is FAILED.
object[]
required
The agents working on the run so far. Empty until research starts, then grows as Windy assigns work.
object | null
required
The finished report. null until status is COMPLETED, and always null when FAILED.

Errors

The error response body is always shaped like this: