> ## 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, embedding provider and model, and global item quota.

## 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).

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

<ResponseExample>
  ```json 200 - OK theme={null}
  {
    "status": "ok",
    "embedding_provider": "ollama",
    "model": "nomic-embed-text",
    "llm_provider": "ollama",
    "llm_model": "llama3.2",
    "items": 1500,
    "max_items": 100000,
    "remaining": 98500
  }
  ```
</ResponseExample>

## 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](/on-prem/api-references/data/upload-documents).
