Documentation Index
Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Uploads precomputed vectors from a JSON file to a vector namespace. Returns an asyncjob_id — poll with moorcheh upload-job-status.
Each vector length must match the namespace vector_dimension.
Synopsis
Options
| Flag | Required | Description |
|---|---|---|
--namespace-name | Yes | Target vector namespace |
--vectors-file | Yes | Path to JSON file with a vectors array |
--base-url | No | Default http://localhost:8080 |
Vectors file format
vectors.json:
vector array length must match vector_dimension for the namespace (for example 5 or 768).
Examples
Output
Prints JSON fromPOST /namespaces/{namespace_name}/vectors:
"success" when the upload job was started; "failure" on error.Human-readable result or error description.
Async upload job id.
Target namespace.
Number of vectors accepted into the job.
Current item count. Present on 409 item limit errors.
Global item cap. Present on 409 errors.
New ids that would exceed the cap. Present on 409 errors.
Example output
Exit codes
| Code | Meaning |
|---|---|
0 | Upload job started |
1 | API error (400, 404, 409, etc.) |