Skip to main content

Create attachment

uuid
required
Thread id in string format
uuid
required
Step id in string format
uuid
Id in string format
Dict
Metadata in dictionary format
string
Mime in string format
string
Name in string format
string
Object key in string format
string
Url in string format
Union[bytes, str]
Content that can be either of bytes or string format
string
Path in string format

Return type

Attachment
Return an Attachment

Update attachment

uuid
required
Id in string format
Dict
Metadata in dictionary format
string
Mime in string format
string
Name in string format
string
Object key in string format
string
Url in string format

Return type

Attachment
Return an Attachment

Get attachment

uuid
required
Id in string format

Return type

Attachment
Return an Attachment, can be None if the attachment is not found

Delete attachment

uuid
required
Id in string format