HTTP APIEndpoints
Download an attachment
GET
Streams a finalized attachment selected by the reference query parameter. Requires read access to the owning session.
bearerheader
AuthorizationBearer <token>id*stringOpaque session ID.
Length
1 <= length <= 128reference*stringDownload an attachment
response?fileapplication/octet-streamFormat
binarycurl -X GET 'http://127.0.0.1:8080/sessions/string/attachments?reference=string' \ -H 'Authorization: Bearer <BRAIN_TOKEN>'"string"