Knead the dough. I like to use a stand mixer, but you can knead it by hand too.
Cover with a wet cloth to keep it from drying out.
I prefer to keep it in the Instant Pot on Yogurt mode on Normal Heat for an hour.
Make the Stuffing. Heat the spices in a pan until fragrant.
Add the potatoes and mash them slightly. Cook until they start sticking to the pan. Add the peas and cook another couple of minutes.
Allow mixture to cool down.
Stuff the Samosa. Divide the dough and roll out into oval shapes. Using your fingers, form each piece of dough into a cone.
Fill the cavity gently with stuffing. Apply water to the edges and pinch to close. Flatten one side against your palm.
Air Fry The Samosa. Coat the samosa with oil generously.
Arrange the samosas in the fryer basket or baking sheet such that they are not over crowded.
Air fry or bake at 350 F /180 C for 20 mins, flipping once.