lookup command id via api