Skip to main content
Question

Box folders:get ALL folders/items, not just the limit of 100

  • May 22, 2025
  • 2 replies
  • 8 views

Forum|alt.badge.img

When using the Box CLI is there a way to change the limit of results returned?

By default it is set at 100.

I see offset, limit and order under item_collection, but in the help for folders:get I see no way to pass my preference to box.

When googling and searching Box community I see the examples of when using the api you can pass these variables along in the api url - but how do you do it with the CLI?

Thanks for any help.

 

2 replies

Forum|alt.badge.img

 by default `folders:get` only returns an initial set. To get all items just use `box folders:items ` instead. That will automatically paginate and return all items for you.


Forum|alt.badge.img

Wow, that was easy.   I just assumed the other commands also limited the results.  This was exactly what I was looking for.
Thanks for the help!