The Indexing API supports a variety of MIME types for various content fields in documents. This document provides a list of popular MIME types which are supported and guidelines on how to use them effectively.

Supported

The following are some popular MIME types which are supported by the Indexing API:

MIME TypeDescription
application/vnd.apple.keynoteApple Keynote presentation
application/epub+zipeBook file
application/mswordMicrosoft Word document
application/onenoteMicrosoft OneNote document
application/pdfPDF document
application/rtfRich Text Format document
application/vnd.apple.pagesApple Pages document
application/vnd.google-apps.formGoogle Forms document
application/vnd.google-apps.siteGoogle Sites page
application/vnd.ms-excelMicrosoft Excel document
application/vnd.openxmlformats-officedocument.presentationml.presentationMicrosoft PowerPoint presentation
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMicrosoft Excel spreadsheet
application/x-apple-diskimageApple Disk Image
application/x-executableExecutable file
application/x-shockwave-flashFlash file
text/csvComma-separated values file
text/htmlHTML document
text/markdownMarkdown document
text/plainPlain text document
text/tab-separated-valuesTab-separated values file
text/vcardvCard file

Please note that this list is not exhaustive and we support many other MIME Types. If you have query about a particular MIME Type which is not listed, please contact Glean support.

Unsupported

The following are some popular MIME types which are not supported by the Indexing API:

MIME TypeDescription
application/jsonJSON file
application/xmlXML file
text/cssCSS file
text/xmlXML file
videoVideo file
application/mp4MP4 video file
imageImage file
audioAudio file
zipZIP archive
rarRAR archive

Additional Information

For more details on how to use the Indexing API to start indexing a custom datasource, refer to the Indexing API Getting Started Guide.

If you encounter any issues or have questions about supported MIME types, please contact our support team.