# Note: -L flag is required to follow the 307 redirectcurl -L -X GET "https://api.devin.ai/v1/attachments/{uuid}/{name}" \ -H "Authorization: Bearer YOUR_API_KEY" \ -o "downloaded_file.ext"
Copy
Ask AI
This response does not have an example.
会话接口
Download attachment files
下载先前上传的附件文件。返回重定向到预签名 URL,以便安全访问文件。
GET
/
v1
/
attachments
/
{uuid}
/
{name}
cURL
Copy
Ask AI
# Note: -L flag is required to follow the 307 redirectcurl -L -X GET "https://api.devin.ai/v1/attachments/{uuid}/{name}" \ -H "Authorization: Bearer YOUR_API_KEY" \ -o "downloaded_file.ext"