Most importantly - you must goad and prompt the AI into making links correctly while it writes to the user that would be returned as annotations, otherwise you get no output files in the sandbox file to present with your own link.
The container rapidly expires, so you’ll likely want to provide better service to your user, by not just serving the downloaded files from your own web host, but immediately downloading and persisting files.