> ## Documentation Index
> Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Health

> Check server health and store quota.

## Overview

Returns server status, store mode, dimension, and how many items are stored versus the per-store cap (10,000).

<RequestExample>
  ```bash theme={null}
  curl -X GET "http://localhost:8080/health"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - OK (empty store) theme={null}
  {
    "status": "ok",
    "dimension": null,
    "store_mode": null,
    "embedding_model": null,
    "items": 0,
    "max_items": 10000,
    "remaining": 10000
  }
  ```

  ```json 200 - OK (text store) theme={null}
  {
    "status": "ok",
    "dimension": 768,
    "store_mode": "text",
    "embedding_model": "BAAI/bge-base-en-v1.5",
    "items": 42,
    "max_items": 10000,
    "remaining": 9958
  }
  ```
</ResponseExample>

## 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](/api-references/export) - read all chunk text
* [Upload](/api-references/upload) - returns **409** when quota is exceeded
* [Limits](/limits)
