aip_sdk.get_run
aip_sdk.get_run(run_id: str, client: APIClient | None = None) -> Run
Fetch an existing run by id for post-hoc inspection.
Thin module-level wrapper around Run.get() (mirroring get_sut()).
Use this to inspect a run that was created earlier — e.g. in a previous
session or by the CLI — without re-entering a with aip.run(...) block:
run = aip.get_run("run_abc123")
page = run.results()
print(page.metrics)
Parameters
run_idstr: Id of an existing run.clientAPIClient | None: Optional API client. Defaults to the module-level client.
Returns
Run: ARunbound torun_id.
Raises
AuthError: If no credentials are configured.