Skip to main content
Question

Unable to retrieve all user events using box api

  • May 22, 2025
  • 2 replies
  • 39 views

Forum|alt.badge.img

Following the doc here --> https://developer.box.com/reference

Either setting stream_position to 0 or not setting a value for stream_position will return all user events.

 

After trying both options, I keep seeing the same behavior:

I'm only receiving user events from Aug 9 onwards, even though my box account contains older files and folders.

 

Is this an existing problem with the Box api?

 

Thanks.

2 replies

Forum|alt.badge.img

 The API documentation at https://developer.box.com/v2.0/reference/#events mentions the following:

 

Box does not store all user and enterprise events for all time. Please see the retention policy for user and enterprise events below.

 

User Events Retention Policy - We store user events for between 2 weeks and 2 months, after which they are removed.

 

Enterprise Events Retention Policy - Enterprise events are accessible for up to 7 years via the reports section in the Box Admin Console. Enterprise events are accessible for up to 1 year via the Enterprise Events endpoint.


Forum|alt.badge.img

Can the retention policy be extended beyond 2 months for User Events?

 

Thanks.