api commands.