Get batchesAsk AIget http://localhost:8080/batchesRetrieves all batches by type and provided matching statuses.