Prepare the air fryer basket.Place a silicone liner in the basket if using, or add the ingredients directly to the basket.
Layer the spinach and tomatoes.Add the fresh spinach to the bottom of the basket, then scatter the cherry tomatoes over the top.
Add and season the salmon.Place the salmon fillet over the vegetables. Season with salt, black pepper, garlic powder, paprika, and dried dill or parsley.
Add the cream cheese and oil.Place the block of cream cheese next to the salmon. Sprinkle it with dried Italian seasoning or oregano, then drizzle olive oil over the salmon, cream cheese, and vegetables.
Air fry until cooked.Cook at 375°F (190°C) for 10 to 12 minutes, or until the salmon flakes easily with a fork, the tomatoes are blistered, and the cream cheese is soft.
Mash the sauce together.Remove the basket from the air fryer. Use two forks to break up the salmon and mash it together with the softened cream cheese, roasted tomatoes, and spinach to create a creamy sauce.
Add the spaghetti.Add the cooked and drained spaghetti to the basket, or transfer everything to a large bowl if needed.
Toss and serve.Toss everything together until the spaghetti is fully coated in the creamy salmon sauce. Serve immediately.