add timeline_batch api