Programmatic API
from pathlib import Path
from apolo_flow.api import open_flow_api
async with open_flow_api(
cluster="production",
org="example-org",
project="example-project",
allowed_workspace_root=Path("/srv/flow-workspaces"),
config_path=Path.home() / ".apolo",
project_path=Path("/srv/flow-workspaces/training"),
) as flow:
jobs = await flow.live_list(limit=100)Last updated
Was this helpful?