The key to making sure the gnocchi is cooked evenly is to cook it in a single layer. If you overcrowd the pan, the dumplings may steam instead of being air-fried. As a result, they will not be as crispy.
Another thing to remember is to flip the gnocchi or shake the basket halfway through cooking so that both sides are evenly crispy.
Find it online: https://allguiderecipes.info/air-fryer-gnocchi-2/