Add water to the washed lentils and cook till its done. Drain well.
Heat oil in a pan and add chopped onions. Saute till it becomes soft and changed color slightly. Add the green chilly & ginger garlic paste. Cook for 1-2 minutes. Add the spice powders & mix well. Cook for a minute. Add cooked dals & stir. Add gram flour and combine well. Remove from fire. Let it cool. Add the beaten egg & stir the mixture thoroughly to bind. Refrigerate for 1 hour.
With wet hands shape the lentil mixture into sausages or patties. Heat oil in pan & cook the koftas. You need only a little oil. Flip the koftas and make sure that all sides are browned evenly. Serve hot with hummus/tabbouleh or tomato ketchup.
Notes
You can make it in patties and it can be made into a veggie burger. The koftas tend to become dry very soon, so its ideal to make it just before serving. However you can make the mix and refrigerate for 2 days. You can make it non veg by adding some cooked & shredded or minced chicken along with the dal & continue the same procedure.