also expose it for cursor based endpoints