Add retention API