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

# Health check

> Liveness probe. Returns the current size of the in-memory write buffer.



## OpenAPI

````yaml /api-reference/openapi.json get /health
openapi: 3.1.0
info:
  title: Foglamp Ingest API
  version: v1
  description: >-
    Write path for Foglamp. Receives batches of traces from the SDK, prices each
    span, and persists them to ClickHouse.
servers:
  - url: http://localhost:4000
    description: Self-hosted (default)
  - url: https://ingest.foglamp.dev
    description: Hosted
security:
  - bearerAuth: []
  - apiKeyAuth: []
paths:
  /health:
    get:
      tags:
        - Ingest
      summary: Health check
      description: Liveness probe. Returns the current size of the in-memory write buffer.
      operationId: health
      responses:
        '200':
          description: Service is up.
          content:
            application/json:
              schema:
                type: object
                required:
                  - status
                  - buffered
                properties:
                  status:
                    type: string
                    example: ok
                  buffered:
                    type: integer
                    description: Rows currently held in the write buffer.
                    example: 0
      security: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Send your API key as `Authorization: Bearer fl_…`.'
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Send your API key in the `x-api-key` header.

````