The bucket id is available as a regular session attribute using the constant EOS_SESSIONS_SEARCH_BUCKET_ID as your key. This ID is used on the backend for efficient sorting and searching, it makes matchmaking search times faster and easier on our backend, hence why it is called out separately from…
https://dev.epicgames.com/community/learning/knowledge-base/dLw3x/epic-online-services-how-do-i-filter-sessions-by-bucketid