---
title: "Sessions API health check"
method: GET
path: "/api/messaging/sessions/health"
tags: ["messaging"]
---

# Sessions API health check

`GET /api/messaging/sessions/health`

Check the health status of the sessions API and get active session statistics

## Response `200`

Sessions API is healthy

- object
  - `status` 'healthy' | 'degraded' | 'unhealthy'
  - `activeSessions` integer — Number of currently active sessions
  - `timestamp` string, date-time
  - `expiringSoon` integer — Number of sessions near expiration
  - `invalidSessions` integer — Number of invalid sessions detected (only shown if > 0)
  - `uptime` number — Service uptime in seconds

---

[API](https://skmtc.net/elizaos/apis/eliza-os-api.md) · [All operations](https://skmtc.net/elizaos/apis/eliza-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elizaos/eliza-os-api/revisions/f43280bfdb0c/schema)
