curl -X GET "http://localhost:8080/health"
{
"status": "ok",
"embedding_provider": "ollama",
"model": "nomic-embed-text",
"llm_provider": "ollama",
"llm_model": "llama3.2",
"items": 1500,
"max_items": 100000,
"remaining": 98500
}
System
Health
Check server health, embedding provider and model, and global item quota.
GET
/
health
curl -X GET "http://localhost:8080/health"
{
"status": "ok",
"embedding_provider": "ollama",
"model": "nomic-embed-text",
"llm_provider": "ollama",
"llm_model": "llama3.2",
"items": 1500,
"max_items": 100000,
"remaining": 98500
}
Overview
Returns whether the server is running, which embedding and LLM providers and models are configured, and how many items are stored versus the global cap (default 100,000).curl -X GET "http://localhost:8080/health"
{
"status": "ok",
"embedding_provider": "ollama",
"model": "nomic-embed-text",
"llm_provider": "ollama",
"llm_model": "llama3.2",
"items": 1500,
"max_items": 100000,
"remaining": 98500
}
Response fields
| Field | Type | Description |
|---|---|---|
status | string | "ok" when the server is up |
embedding_provider | string | ollama, openai, or cohere |
model | string | Embedding model id for the configured provider |
llm_provider | string | LLM provider for /answer |
llm_model | string | Default LLM model id |
items | number | Current item count (all namespaces) |
max_items | number | Global item limit |
remaining | number | max_items - items |
Related
Use the same quota fields when uploads return 409 - see Upload documents.Was this page helpful?