createAttachmentUploadUrl

View as Markdown

Get a presigned S3 URL for uploading an attachment.

Returns a presigned S3 PUT URL the agent uploads file bytes to directly.

Parameters

NameTypeRequiredDescription
file_namestringYesFilename including extension (e.g., “report.pdf”).
content_typestringYesMIME type (e.g., “application/pdf”, “image/png”).
target_typeREQUEST | REQUEST_NOTEYesWhether this attachment will be linked to a request body
is_inlinebooleanNoWhen true, this attachment is intended for inline embedding in Default: False.