Overview
The Uploads API accepts base64-encoded file payloads from clients, stores them on the server, and returns a fetchable URL. The agent-chat bridge forwards the returned URL to the runtime as afile message part. Uploads are commonly used by the Allternit mobile composer to stage photos or documents before sending.
Base URL
Authorization header. See Authentication for details.
Endpoints
Upload file
- Maximum decoded payload: 20 MB.
- Upload IDs are alphanumeric and extensionless; the sidecar stores the original filename and media type.
Download upload
Content-Type. If the sidecar is missing, application/octet-stream is used.