Has Costa Rica ever been at war?

No, Costa Rica has never been at war. Costa Rica abolished its military in 1948, making it one of the few countries in the world without a standing army.
Copyright Wanderlust World © https://www.ynyoo.com