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_)
正常なレスポンス