In a bowl, mix together the flour, xanthan gum, baking soda, cinnamon and salt.
Add the rolled oats and stir to combine.
In a large bowl, add the butter and sugars and beat until smooth and fluffy.
Add the egg and vanilla extract and beat until well combined.
Add the flour mixture and mix until just combined.
Gently fold in the raisins.
Make about 1-inch balls from the mixture.
Grease the Air Fryer Basket with cooking spray and then slide inside.
Adjust the temperature of Air Fryer to 320 °F to preheat for 5 minutes.
After preheating, arrange half of the dough balls into the prepared Air Fryer Basket in a single layer.
With your fingers, press each dough ball slightly.
Slide the basket into Air Fryer and set the time for 12 minutes.
After cooking time is finished, remove the cookies from Air Fryer and place onto a wire rack to cool completely before serving.
Repeat with remaining dough balls.