Securely retrieve a file from a code execution task.
This endpoint allows users to download files generated during code execution. The user must be the owner of the execution task, and the file must belong to that execution.WARNING: this endpoint is deprecated and will be removed in a future version. Please use /v3/thread/turns and /v3/artifacts endpoints instead
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
UUID of the execution task
ID of the file to retrieve
Whether to download the file as attachment (default: false)
File content
The response is of type file.