According to the docs, if you set pagesize to 0, it should default to 1000 behind the scenes.