Overview
Uploads documents from a JSON file to a text namespace. Embeddings are computed via Ollama. Returns an asyncjob_id — poll with moorcheh upload-job-status.
Synopsis
Options
Documents file format
docs.json:
team) are stored as metadata.
Examples
Output
Prints JSON fromPOST /namespaces/{namespace_name}/documents:
string
"success" when the upload job was started; "failure" on error.string
Human-readable result or error description.
string
Async upload job id.
string
Target namespace.
number
Number of documents accepted into the job.
number
Current item count. Present on 409 item limit errors.
number
Global item cap. Present on 409 errors.
number
New ids that would exceed the cap. Present on 409 errors.
Example output