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

# Create Document

> Ingest a new document into the corpus.

### Body

<ParamField body="text" type="string" required>
  The raw text content of the document.
</ParamField>

<ParamField body="title" type="string">
  An optional title for the document.
</ParamField>

<ParamField body="url" type="string">
  An optional URL specifying where the document originated.
</ParamField>

### Response

<ResponseField name="id" type="string">
  The ID of the newly created document.
</ResponseField>

```json Example Request theme={null}
{
  "title": "Welcome",
  "text": "Hello world. This is a test document."
}
```

```json Example Response theme={null}
{
  "id": "doc-456",
  "status": "pending"
}
```
