> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.emtelligent.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.emtelligent.com/_mcp/server.

# JSON Input Format

NLP API input documents as JSON. This format can be used to submit multiple documents to NLP API in a single file (one part of a mime multipart body).

## Example

**`A request body with one document`**

```json title="A request body with one document"
[
  {
    "id": "1",
    "category": "Clinical",
    "subcategory": "generic",
    "text": "The patient reports that he has a headache, a fever and a stiff neck.  He has a history of depression.  His mother has lung cancer."
  }
]
```

## InputDocuments

Type: array of [`InputDocument`](#inputdocument).

## InputDocument

| Property                      | Type                                         | Required | Description                                                 |
| ----------------------------- | -------------------------------------------- | -------- | ----------------------------------------------------------- |
| `id`                          | `DocumentID` (API schema)                    | yes      | An identifier for the document, unique within a submission. |
| `type`                        | `DocumentType` (API schema)                  | no       |                                                             |
| `category`                    | `DocumentCategory` (API schema)              | no       |                                                             |
| `subcategory`                 | `DocumentSubcategory` (API schema)           | no       |                                                             |
| `process_with_section_labels` | `ProcessWithSectionLabelsArray` (API schema) | no       |                                                             |
| `text`                        | `DocumentText` (API schema)                  | yes      |                                                             |