Skip to main content

health

Returns whether the server is running, which embedding provider and model are configured, and how many items are stored versus the global cap (default 100,000).
API: GET /health — see Health

Examples

Returns

string
Server health. "ok" when the API is running and reachable.
string
Active provider: ollama, openai, or cohere.
string
Embedding model id for the configured provider. Used for text documents and text search queries.
number
Total number of stored items across all namespaces (text documents + vectors).
number
Global storage cap for this instance. Default is 100000.
number
How many new items you can still add: max_items - items. Uploads that would exceed this return 409.
Example return value
Field order in the response may vary; all fields above are always present on success.

Error Handling

Non-2xx responses raise MoorchehApiError (for example if the server is not running or unreachable).