Skip to main content
Question

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


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.

 

Forum|alt.badge.img
  • Community Manager
  • April 17, 2025

 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
  • Community Manager
  • April 17, 2025

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!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings