# IngestedFileType

What kind of document a file is, which decides how its text is extracted.

**Kind:** a string enum, used in responses.

## Values

| Value | Description |
|---|---|
| `"WordDocument"` | A Word document. |
| `"Markdown"` | Markdown. |
| `"PlainText"` | Plain text. |
| `"Html"` | An HTML page. |
| `"ExcelDocument"` | An Excel workbook. |
| `"PowerPointDocument"` | A PowerPoint presentation. |
| `"Pdf"` | A PDF. |
| `"Csv"` | CSV data. |
| `"Json"` | JSON. |
| `"Xml"` | XML. |
| `"Image"` | An image, which is described in words so it can be searched. |

New values can appear, so treat one you don't know as "something else", not as an error.

## Where it's used

- Inside [`EmbeddingsSearchResult`](https://docs.maitento.com/reference/types/embeddings-search-result.md)
- Inside [`IngestedFile`](https://docs.maitento.com/reference/types/ingested-file.md)
- Inside [`IngestedFileListItem`](https://docs.maitento.com/reference/types/ingested-file-list-item.md)
- Inside [`IngestedFileSummary`](https://docs.maitento.com/reference/types/ingested-file-summary.md)
