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

# Health check

> Liveness of the API.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/health
openapi: 3.1.0
info:
  title: Spec Hub API
  version: '1'
  description: >-
    The registry of Lean 4 specification packages, the cloud verification queue
    and the Lemma Hub. The `theformalera` CLI is the main client; this API is
    what it calls.
servers:
  - url: https://hub.theformalera.com
    description: Spec Hub
  - url: http://127.0.0.1:8700
    description: Local Hub (`theformalera-hub serve`)
security: []
tags:
  - name: Registry
    description: 'Public: no token needed.'
  - name: Verification
    description: Cloud solving (`runner = "cloud"`).
  - name: Lemma Hub
    description: Lemma retrieval, deposit and usage statistics.
paths:
  /v1/health:
    get:
      tags:
        - Registry
      summary: Health check
      description: Liveness of the API.
      operationId: health_v1_health_get
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always true.
                  time:
                    type: integer
                    description: Server time (Unix seconds).
              example:
                ok: true
                time: 1793520376
      security: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.