rebase.Run
Inspect a submitted function, workflow, or model run.
Constructor
rb.Run(run_id: str)Most users receive a Run from function.spawn(...), workflow.spawn(...), model.predict.run(...), or similar SDK calls.
Attributes
| Attribute | Type | Description |
|---|---|---|
id | str | Run ID. |
status | str | Current run status. Refreshes the run when no local data is loaded. |
data | dict | Last loaded run payload. |
Methods
run.refresh() -> dict[str, Any]
run.events() -> list[dict[str, Any]]
run.steps() -> list[dict[str, Any]]
run.result(timeout: int = 600, poll_interval: float = 5.0) -> dict[str, Any]| Method | Description |
|---|---|
refresh() | Reload run metadata from the Rebase API. |
events() | Return persisted run events. |
steps() | Return workflow step state for workflow runs. |
result(timeout=600, poll_interval=5.0) | Wait for the run to finish and return the result. Raises if the run fails, is cancelled, or times out. |

