def get_box_files_details(box_client: BoxClient, file_ids: List[str]) -> List[File]:
    """
    Retrieves details for multiple Box files identified by their IDs.

    This function takes a Box client and a list of file IDs as input and returns a list of File objects containing details for each requested file.

    Args:
        box_client (BoxClient): An authenticated Box client object.
        file_ids (List[str]): A list of strings representing Box file IDs.

    Returns:
        List[File]: A list of File objects containing details for each requested file.

    Raises:
        BoxAPIError: If an error occurs while retrieving file details from the Box API.

    """
    box_files_details: List[File] = []

    for file_id in file_ids:
        try:
            file = box_client.files.get_file_by_id(file_id)
        except BoxAPIError as e:
            logger.error(
                f"An error occurred while getting file: {e.message}", exc_info=True
            )
            raise

        logger.info(f"Getting file: {file.id} {file.name} {file.type}")
        box_files_details.append(file)

    return box_files_details

    Retrieves details for multiple Box files identified by their IDs.

    This function takes a Box client and a list of file IDs as input and returns a list of File objects containing details for each requested file.

    Args:
        box_client (BoxClient): An authenticated Box client object.
        file_ids (List[str]): A list of strings representing Box file IDs.

    Returns:
        List[File]: A list of File objects containing details for each requested file.

    Raises:
        BoxAPIError: If an error occurs while retrieving file details from the Box API.

    
llama-index-integrations/readers/llama-index-readers-box/llama_index/readers/box/BoxAPI/box_api.py