Prepare the Marinade: In a small bowl, whisk together olive oil, lemon juice, lemon zest, minced garlic, chopped herbs, salt, pepper, and red pepper flakes (if using).
Marinate the Swordfish: Place the swordfish steaks in a shallow dish or resealable bag. Pour the marinade over the fish, ensuring it is evenly coated. Marinate in the refrigerator for at least 15 minutes, or up to 1 hour.
Preheat the Air Fryer: Preheat your air fryer to 400°F (200°C) for 5 minutes.
Air Fry the Swordfish: Remove the swordfish steaks from the marinade and place them in the air fryer basket in a single layer, being careful not to overcrowd. If necessary, cook in batches.
Cook Time: Air fry for 8-10 minutes, flipping halfway through, or until the swordfish is cooked through and flakes easily with a fork. Cooking time may vary depending on the thickness of the steaks and your air fryer model.
Check for Doneness: The internal temperature of the swordfish should reach 145°F (63°C).
Rest and Serve: Remove the swordfish from the air fryer and let it rest for a few minutes before serving. This allows the juices to redistribute, resulting in a more tender and flavorful steak.