Skip to main content

Overview

Creates a new namespace for documents (text) or precomputed embeddings (vector). Prints the API response as JSON to stdout.

Synopsis

Options

Examples

Output

Prints JSON from POST /namespaces:
string
"success" or "failure".
string
Human-readable result or error description.
string
Name of the namespace that was created.
string
"text" or "vector".
number | null
Fixed vector length for vector namespaces; null for text namespaces.
Example output (text)

Exit codes