selected item api