add run api for commands

the list api command can now returned an unformatted list