stub for the batches endpoint