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).GET /health — see Health
Examples
Returns
Server health.
"ok" when the API is running and reachable.Active provider:
ollama, openai, or cohere.Embedding model id for the configured provider. Used for text documents and text search queries.
Total number of stored items across all namespaces (text documents + vectors).
Global storage cap for this instance. Default is
100000.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 raiseMoorchehApiError (for example if the server is not running or unreachable).
Related Operations
- API: Health
- CLI: moorcheh status
- Python: documents.upload() — 409 quota errors include the same fields in
MoorchehApiError.body