curl -X GET "http://localhost:8080/health"
{
"status": "ok",
"dimension": null,
"store_mode": null,
"embedding_model": null,
"items": 0,
"max_items": 10000,
"remaining": 10000
}
{
"status": "ok",
"dimension": 384,
"store_mode": "text",
"embedding_model": "BAAI/bge-small-en-v1.5",
"items": 42,
"max_items": 10000,
"remaining": 9958
}
System
Health
Check server health and store quota.
GET
/
health
curl -X GET "http://localhost:8080/health"
{
"status": "ok",
"dimension": null,
"store_mode": null,
"embedding_model": null,
"items": 0,
"max_items": 10000,
"remaining": 10000
}
{
"status": "ok",
"dimension": 384,
"store_mode": "text",
"embedding_model": "BAAI/bge-small-en-v1.5",
"items": 42,
"max_items": 10000,
"remaining": 9958
}
Overview
Returns server status, store mode, dimension, and how many items are stored versus the per-store cap (10,000).curl -X GET "http://localhost:8080/health"
{
"status": "ok",
"dimension": null,
"store_mode": null,
"embedding_model": null,
"items": 0,
"max_items": 10000,
"remaining": 10000
}
{
"status": "ok",
"dimension": 384,
"store_mode": "text",
"embedding_model": "BAAI/bge-small-en-v1.5",
"items": 42,
"max_items": 10000,
"remaining": 9958
}
Response fields
| Field | Type | Description |
|---|---|---|
status | string | "ok" when the server is up |
dimension | number | null | Locked vector length after first upload |
store_mode | string | null | "text" or "vector" after first upload |
embedding_model | string | null | Set for text stores (e.g. BGE model id) |
items | number | Current item count in this store |
max_items | number | Store item limit (10000) |
remaining | number | max_items - items |
Related
- Export store - read all chunk text
- Upload - returns 409 when quota is exceeded
- Limits
Was this page helpful?