In short, as long as your Pyrex bowl or cookware is oven proof, it should be fine in your air fryer. However, an air fryer changes temperature a lot faster than a regular oven. These rapid temperature changes may fracture your glass cookware.
You can use a glass bowl in an air fryer if it is oven safe. Don't put it when the glass bowl is cold as it will cause thermal stress and will shatter the Pyrex. Also pre-heat the glass bowl with mild hot water before using it in an air fryer for added safety.