Preheat your air fryer to 400°F (200°C).
Pat the steak dry with paper towels.
Rub olive oil all over the steak.
Season the steak with salt, pepper, garlic powder, and onion powder.
Sprinkle fresh herbs on both sides if using.
Place the steak in the air fryer basket.
Cook for 10-12 minutes for medium-rare, flipping halfway through.
Check for doneness with a meat thermometer.
Let the steak rest for 5 minutes before slicing.
Slice against the grain and serve.