| Field | Type | Required | Notes |
|---|---|---|---|
docs | object[] | ✅ | Array of documents. Each document must include id and text; you may optionally supply metadata (key-value pairs). |
modelId | string | ◻️ | Defaults to moss-minilm. Other options include moss-mediumlm. |
400when any required field is missing.404if the project does not exist.500on unexpected storage or indexing failures.