Preheat the air fryer to 270°F (130°C) for hard boiled eggs or 275°F (135°C) for egg bites.
Carefully place the eggs in the air fryer basket.
Cook the eggs for 15 minutes for hard-boiled or reduce time to 12 minutes for soft-boiled.
After the cooking time is over, immediately place the eggs in an ice bath (a bowl of ice and water) for about 5 minutes to stop the cooking process.
In a mixing bowl, whisk together the eggs, milk, cheese, cooked vegetables, salt, and pepper for egg bites.
Spray silicone molds or ramekins lightly with cooking spray to prevent sticking.
Pour the egg mixture into the molds, filling them about ¾ full.
Place the filled molds in the air fryer basket.
Cook for approximately 12-15 minutes or until the egg bites are set and lightly golden.
Remove from the air fryer and let them cool slightly before removing from the molds.