Data Ingestion API Fix: content_type Defaults to text/html With MIME Auto-Detection
The Data Ingestion API now correctly sets the content_type field for every document. If you don't provide one, it defaults to text/html so your documents appear in the web search tab instead of being classified as media. When using rtf:true, the MIME type is auto-detected from the actual file content — PDFs get application/pdf, Word documents get their proper DOCX type, and so on.