Preheat the oven to 375°F (190°C).
Season the chicken thighs with salt and black pepper.
Heat the olive oil in a large oven-safe skillet over medium-high heat.
Add the chicken thighs to the skillet and cook until browned on both sides, about 5 minutes per side.
Remove the chicken thighs from the skillet and set them aside.
Add the onion and garlic to the skillet and cook until the onion is softened, about 5 minutes.
Add the cumin, coriander, ginger, cinnamon, turmeric, smoked paprika, cayenne pepper, salt, and black pepper to the skillet.
Cook for 1-2 minutes, stirring constantly.
Add the diced tomatoes and their juice to the skillet.
Stir in the cilantro, parsley, and dried apricots.
Return the chicken thighs to the skillet, skin side up.
Cover the skillet and transfer it to the preheated oven.
Bake for 30-35 minutes, or until the chicken is cooked through and the sauce is bubbly.
Sprinkle sliced almonds over the chicken before serving.