Client API + CLI commands