---
title: "Health Check"
method: GET
path: "/health"
tags: ["System"]
---

# Health Check

`GET /health`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/health`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Checks if the service and its dependencies are healthy.

## Response `200`

Request fulfilled, document follows

- ApiV2HealthCheckSchema
  - `status` 'healthy' | 'unhealthy': Api service status
  - `uptime_in_seconds` integer, required: Service Up time in seconds
  - `details` DetailsSchema, required: Service details
    - `database` DatabaseDetailsSchema, required: Details about the database service
      - `status` 'operational' | 'failure': Status of the database service
      - `journal` 'operational' | 'failure': Status of the database service
      - `appdb` 'operational' | 'failure': Status of the database service
      - `authdb` 'operational' | 'failure': Status of the database service

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
