Skip to main content

Returns

Returns the closed Run, in a terminal status. Leaving a with galtea.runs.start(...) block already closes the run, so call this only for a run you opened without a block. A handle from runs.start() closes its own run with run.close(), which takes no arguments and is a no-op the second time. The API refuses the close in three cases: the run is deleted, the run already ended, or the platform opened the run. It refuses a run the platform opened whatever its status: that run ends with its own launch. A close always ends the run as COMPLETED. You performed the work yourself, so the platform has no outcome of its own to report.

Example

Parameters

string
required
The ID of the run to close.