Preheat and prep: Heat your oven to 375°F (190°C). Grease a 9x13-inch baking dish with cooking spray or butter.
Sauté the vegetables: Warm olive oil in a large skillet over medium heat.
Add onion and bell pepper, and cook until softened, about 4–5 minutes. Stir in mushrooms and cook until they release moisture and start to brown, 5–6 minutes. Add garlic and spinach; cook until the spinach wilts.
Season lightly with salt and pepper, then remove from heat to cool slightly.
Whisk the egg base: In a large bowl, whisk eggs, milk, smoked paprika, thyme, remaining salt, and pepper until smooth. Stir in 1 1/2 cups of shredded cheese.
Assemble the casserole: Spread the sautéed vegetables evenly in the prepared dish. Pour the egg mixture over the top, tilting the dish so it settles evenly.
Add the tater tots: Arrange frozen tater tots in a tight, even layer across the top.
Don’t thaw them; this helps them crisp.
Bake: Place on the middle rack and bake for 40–45 minutes, until the eggs are set in the center and the tots are golden brown.
Finish with cheese: Sprinkle the remaining 1/2 cup of cheese over the tots and bake for 5 more minutes, until melted and bubbly.
Rest and serve: Let the casserole rest for 10 minutes before slicing. This helps it firm up and makes clean slices.