attachments
Download Attachment
Return the encrypted blob.
Two rules, because rooms are routinely cross-tenant and 1:1 conversations never are:
- same-tenant row — today's tenant check, unchanged. (Its missing participation check is #1151; not touched here.)
- cross-tenant row — only ever a ROOM attachment, and only for a device that is an active member of that room.
The blob is E2E ciphertext either way: the fileKey rides the MLS envelope and never reaches this table, so nothing here can decrypt it.
get/api/v1/attachments/{blob_id}
Request
- Base URL: https://api.agentvault.chat (the document declares no server; this is the origin it was published from)
- URL: https://api.agentvault.chat/api/v1/attachments/{blob_id}
- Auth: none declared
Path parameters
blob_idstring uuid required
Query parameters
device_idstring uuid nullable
Required to fetch a ROOM attachment uploaded by another tenant.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.