WillItFitCheck a full build

Does a CS-M8200-12 fit a RD-APEX-1-LR?

Won't work
Won't work

At 45T you are 3T over the SRAM RD-APEX-1-LR's rated 42T maximum. That is beyond what a longer B-screw can take up. The cage will not clear the largest cog.

SRAM Drivetrain Compatibility Map

Every claim above names the document it came from. Manufacturers change specifications without notice, and some combinations depend on your frame or your setup. If this build matters, confirm it with your bike shop. If we have it wrong, tell us and we will fix it and say that we did.

The numbers

SpecificationCS-M8200-12RD-APEX-1-LR
Speeds1211
Largest cog45not given
Smallest cog9not given
Cage lengthnot givenlong
Clutchnot givenYes
Largest sprocket it can takenot given42
Smallest sprocketnot given11
What these words mean(6 terms)
T, as in 34T
T is teeth. A 34T sprocket has 34 teeth on it. The bigger that number, the easier the gear is to pedal up a hill, and the harder it is for the derailleur to reach.
B-screw
The screw that sets how far the rear derailleur hangs below the cassette. Turning it drops the derailleur away from the biggest ring of teeth so the two do not collide.
cage
The arm on the rear derailleur that holds the two small wheels the chain runs through. A longer cage swallows more chain, which is what lets it cope with a wider range of gears.
cog
Another word for one ring of teeth on the back wheel. Same thing as a sprocket.
cable pull
How far the derailleur moves for one click of the shifter. The two have to agree, or the chain stops halfway between gears instead of landing in one.
actuation
The same idea as cable pull: how far the derailleur moves per click of the shifter.

What this answer does not cover

Two parts are not a whole drivetrain. Before answering for the rest of it we would need to know:

Check your full build to include them.

The two parts

Ridden this combination? Tell us how it went. Rider reports are how we cover the parts no manufacturer publishes a chart for.