Stanford Medicine was among the first organizations to develop and use an accurate antibody test to detect from a blood sample whether a person has encountered the COVID-19.
This New York Times video can serve a useful resource for those that want to know how it all works: