In a small-sized bowl, blend together the rosemary, spices, salt and black pepper.
Run the prime rib with rosemary mixture generously.
Grease the Air Fryer Basket with cooking spray and then slide inside.
Adjust the temperature of Air Fryer to 400 °F to preheat for 5 minutes.
After preheating, arrange the prime rib into the greased Air Fryer Basket.
Slide the basket into Air Fryer and set the time for 8 minutes.
After 8 minutes of cooking, adjust the temperature to 300 °F for 70 minutes.
After cooking time is finished, remove the prime rib from Air Fryer and place onto a cutting board for about 10 minutes.
Cut the prime rib into desired-sized slices and serve.