Overview
Lists every namespace on this Moorcheh instance with type, item count, vector dimension, and created time. Prints JSON to stdout.Synopsis
Options
| Flag | Default | Description |
|---|---|---|
--base-url | http://localhost:8080 | Moorcheh API base URL |
Examples
Output
Prints JSON fromGET /namespaces:
List of namespace objects. Empty array when no namespaces exist.
Unique namespace name.
"text" or "vector".Vector dimension for vector namespaces;
null for text.Number of items stored in the namespace.
ISO 8601 UTC timestamp when the namespace was created.
"failure" on server error (500).Error description on failure.
Example output
Exit codes
| Code | Meaning |
|---|---|
0 | Success |
1 | API error — error JSON printed, message on stderr |