Skip to main content

Constructor

Parameters

Returns

AttachmentsClient

Methods

downloadAttachment()

Download a file attachment. Returns a 307 redirect: to the IP-enforcing presigned proxy for orgs with an IP allowlist, or to a presigned S3 URL otherwise.

Parameters

Request-specific configuration.

Returns

HttpResponsePromise<unknown>

uploadAttachment()

Upload a file attachment that can be used in Devin sessions.

Parameters

Request-specific configuration.

Returns

AttachmentResponse