Skip to main content

Attachment

PropertyTypeDescriptionOptional
idstringUnique identifier for the attachment.
namestringName of the attachment file.
urlstringURL to access the attachment.
typestringType of the attachment (e.g., image, video).
indexnumberIndex of the attachment in a list.
widthnumberWidth of the attachment (if applicable).
heightnumberHeight of the attachment (if applicable).
awsFolderPathstringAWS folder path where the file is stored.
localFilePathstringLocal file path for the attachment.
thumbnailUrlstringURL for the attachment’s thumbnail.
thumbnailAWSFolderPathstringAWS folder path for the thumbnail.
thumbnailLocalFilePathstringLocal file path for the thumbnail.
metaAttachmentMetaMetadata related to the attachment.
createdAtnumberTimestamp when the attachment was created.
updatedAtnumberTimestamp when the attachment was last updated.
fileUrlstringDirect URL to access the file.

AttachmentMeta

PropertyTypeDescriptionOptional
numberOfPagenumberNumber of pages in the attachment (if applicable).
sizenumberSize of the attachment in bytes.
durationnumberDuration of the attachment (e.g., for videos).
answerIdnumberIdentifier related to an answer (if applicable).
createdAtnumberTimestamp when the attachment was created.
fileUrlstringURL to access the attachment.
heightnumberHeight of the attachment (if applicable).
idnumberUnique identifier for the attachment meta.
indexnumberIndex of the attachment in a list.
meta{ size: number }Nested metadata containing file size.
namestringName of the attachment.
thumbnailUrlstring | nullURL of the attachment’s thumbnail.
typestringType of the attachment (e.g., image, video).
widthnumberWidth of the attachment (if applicable).