Prep the Vegetables: Toss the eggplant, zucchinis, bell pepper, onion, and tomatoes with olive oil, dried thyme, minced garlic, salt, and pepper in a large bowl until all the pieces are well coated.
Preheat the Air Fryer: Set your air fryer to 375°F (190°C) to preheat for about 3-5 minutes. Preheating helps cook the vegetables evenly.
Arrange in the Air Fryer: Place the seasoned vegetables in the air fryer basket in a single layer. You may need to cook them in batches to avoid overcrowding, which ensures that each piece cooks perfectly.
Cook: Air fry the vegetables for about 15-20 minutes, or until they are tender and slightly charred, shaking the basket halfway through the cooking time to promote even cooking.
Serve: Once cooked, carefully remove the ratatouille from the air fryer. Adjust seasoning if necessary, and garnish with fresh basil leaves before serving.