Upload a document file as a personal/organization template.
The file is processed synchronously: text extraction, HTML conversion, and content indexing. Supported formats: .docx, .pdf, .txt, .rtf, .md Templates are scoped to the uploading user or organization.