Skip to main content
POST
Stage a chat attachment

Authorizations

x-api-key
string
header
required

Optional API key for authentication (enabled via application.yaml)

Body

multipart/form-data
file
file
required

Response

Staged attachment descriptor

attachmentId
string
filename
string
detectedType
string

Detected source category (e.g. "CSV (structured)", "document (unstructured)")

byteSize
integer
sample
string

Text sample for the model (capped; binary documents get a one-line note)