Pat the chicken thighs very dry with kitchen paper and season both sides with salt and pepper.
Heat the oil in a large oven-proof pan or deep skillet over medium-high heat. Place the thighs skin-side down and cook for 6 to 8 minutes without moving them, until the skin is deep golden and crisp. Turn and cook for 2 minutes on the other side. Move the thighs to a plate.
Turn the heat down to medium. Add the onion and cook for 4 to 5 minutes, until soft. Add the garlic and cook for 30 seconds, until fragrant.
Pour in the apple cider and scrape up the browned bits from the bottom of the pan with a wooden spoon. Those bits add flavour to the sauce. Stir in the chicken stock, Dijon mustard, and thyme.
Return the thighs to the pan skin-side up. The liquid should come only partway up the meat, not over the skin. Tuck the apple wedges around the chicken.
Bring to a gentle simmer, then cover the pan and cook on low heat for 20 to 25 minutes, until the chicken is tender and a thermometer in the thickest part reads 74°C (165°F). Take the lid off for the last 5 minutes so the sauce thickens a little and the skin stays crisp.
Stir in the butter if using. Rest the chicken for 5 minutes, then spoon the sauce and apples over the thighs and serve.