cURL
curl --request POST \ --url https://api.devin.ai/v3beta1/organizations/{org_id}/attachments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "attachment_id": "<string>", "name": "<string>", "url": "<string>" }
上传可在 Devin 会话中使用的附件文件。
UseDevinSessions
服务用户凭据(前缀:cog_)
成功响应