You can expect the CBP to keep records for up to five years. It is possible to obtain information from them for free.