An api for the efficacy project