Initiate Attachment Upload
Initiates (or deduplicates) an upload of a file attached to a session. If the exact content is already stored for this (session ID, file path), the response has alreadyExists: true and no upload is needed. Otherwise, PUT the file bytes to the returned uploadUrl, then call the commit endpoint. Re-initiating an existing (session ID, file path) with new content updates the attachment in place on commit.
Authorizations
Body
The logical file path of the attachment (e.g. the path the agent wrote on disk). Together with the session ID it identifies the attachment: re-uploading the same path in the same session updates the existing attachment in place.
1 - 1024"/tmp/report.pdf"
Response
Upload initiated (or content already stored). If alreadyExists is false, PUT the bytes to uploadUrl and then commit.