All sci-fi lives within its own universe, a unique combination of timeline, technology, history and lifeforms.
Endeavour’s universe is set near to the present day with slight historical variations. Certain governments have direct knowledge of extra-terrestrial contact but are divided on how to respond. Some are preparing for war in defence of Earth, others want to achieve peaceful first contact.
But no-one knows who the aliens are or what they want.