Make the filling. In a small bowl, stir together the softened cream cheese, garlic powder, onion powder, and green onion (if using) until smooth.
Fill the wrappers. Lay out 4 to 6 wonton wrappers at a time and keep the rest covered with a damp towel. Spoon about 1 teaspoon of filling into the center of each wrapper. Don't overfill.
Fold and seal. Lightly brush the edges with water. Bring all four corners up to meet in the center, then pinch the seams together tightly, pressing out any air.
Arrange in the basket. Place the rangoons in a single layer in the air fryer basket, not touching. Spray the tops generously with cooking spray.
Air fry. Air fry at 370°F for 8 to 10 minutes, flipping halfway through, until golden brown and crisp. Repeat with the remaining rangoons.
Serve. Let cool for 2 minutes (the filling is very hot), then serve with dipping sauce.