> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moss.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ParseFileInput

[moss](../api) / ParseFileInput

# Interface: ParseFileInput

Input descriptor for a single file in the parse pipeline. Either `path` (filesystem path) or
`data` (raw bytes) must be provided. Both `name` and `content_type` are required.

## Properties

* **name**: `str` - file identifier sent to the server; must be unique within the call
* **content\_type**: `str` - `"application/pdf"` or `"application/vnd.openxmlformats-officedocument.wordprocessingml.document"` (DOCX)
* **path**: `Optional[str]` - filesystem path to the file
* **data**: `Optional[bytes]` - raw file bytes; takes precedence over `path` when provided
