Press the saute button on your Instant Pot. Wait till it gets hot and then add olive oil to the pot.
Once oil is hot, add chopped onion and saute till it becomes light golden brown in color. (use yellow onion if possible, I only had red so used that)
Add chopped garlic, ground cumin, ground coriander, ground sumac, red chili flakes, dried parsley, pinch of sugar and dried mint flakes.
Cook for 1-2 minutes, stirring constantly.
Add water (or vegetable broth) and give a stir.
Add the lentils and also add salt and pepper. Stir to mix. Close the Instant Pot and set valve to sealing position.
Cancel saute mode and press "Manual" button on your IP. Adjust the timing and set it to 8 minutes on high. Once 8 minutes are up, wait for 5 minutes and then do quick release.
Stir the soup, add lime juice.
Serve the mediterranean lentil soup with a side of pita bread!