The API and the Design of Experiments