The Thor missile carrying the Starfish Prime warhead actually reached an apogee (maximum height) of about 1100 km (just over 680 miles), and the warhead was detonated on its downward trajectory when it had fallen to the programmed altitude of 400 kilometers .