---
updatedAt: 2026-11-07T16:37:30.000Z
agentTools:
  projectIndex: https://askedgar.readme.io/llms.txt
---

# Health Check

Quick liveness probe for the API and its dependencies.

## Overview

Quick liveness probe for the API and its critical dependencies. Returns an overall `healthy` / `unhealthy` status plus per-component breakdown.

**No API key required.**

## When to use

* Uptime monitoring (Pingdom, StatusCake, your own cron).
* Status-page integrations.
* Pre-flight check before kicking off a long batch job.

## Response highlights

* `status` — overall verdict: `"healthy"` if every component is healthy, otherwise `"unhealthy"`.
* `version` — the deployed API version string.
* `commit` — the Git commit of the running build, or `null` when the deployment does not report one.
* `timestamp` — server-side time at the moment of the check (US/Central).
* `environment` — the deployment environment label (e.g. `production`, `staging`).
* `components` — per-component status map. Today: `api` and `redis`. Database connectivity may be added later.

## Notes

* This endpoint is intentionally cheap and never billed. Hit it as often as your monitoring needs.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "AskEdgar API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://eapi.askedgar.io"
    }
  ],
  "paths": {
    "/health": {
      "get": {
        "tags": [
          "Public"
        ],
        "summary": "Health Check",
        "description": "Quick liveness probe for the API and its dependencies.",
        "operationId": "health_check",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HealthResponse": {
        "properties": {
          "status": {
            "type": "string",
            "title": "Status"
          },
          "version": {
            "type": "string",
            "title": "Version"
          },
          "commit": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commit"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "title": "Timestamp"
          },
          "environment": {
            "type": "string",
            "title": "Environment"
          },
          "components": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "title": "Components"
          }
        },
        "type": "object",
        "required": [
          "status",
          "version",
          "timestamp",
          "environment",
          "components"
        ],
        "title": "HealthResponse"
      }
    }
  }
}
```