command api