---
title: "Health check"
method: GET
path: "/v1/service/health"
tags: ["Service"]
---

# Health check

`GET /v1/service/health`

## Request

- Base URL: `https://api.getmytg.com`
- URL: `https://api.getmytg.com/v1/service/health`
- Auth: none required

Returns basic service status, current time, and process uptime.

## Response `200`

Successful response.

- object: Successful response.
  - `status` 'ok' | 'degraded', required: Service status.
  - `checks` object: Detailed information about dependencies state.
    - `database` boolean, required: Database connection status.
    - `redis` boolean, required: Redis connection status.
  - `uptimeSeconds` integer, required: API uptime in seconds.
  - `now` string, required: Current server time in ISO 8601 format.

## Other responses

- `500`: Internal server error

## Changes

- **2026-11-03** `aa3ff24cbee2`: 1 info
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/getmytg/apis/get-my-tg-api/changes/v1/service/health/get.md)

---

[API](https://skmtc.dev/getmytg/apis/get-my-tg-api.md) - [All operations](https://skmtc.dev/getmytg/apis/get-my-tg-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getmytg/apis/get-my-tg-api/revisions/aa3ff24cbee2?raw)
