---
title: "Get maximum session count"
method: GET
path: "/max-session-count"
tags: ["Health"]
---

# Get maximum session count

`GET /max-session-count`

Returns the current maximum session count. This may be either the value set via the POST endpoint or the default from the MAX_SESSIONS_COUNT environment variable.

## Response `200`

Successfully retrieved max session count

- MaxSessionCountResponse
  - `max_session_count` integer, required — Current maximum session count

---

[API](https://skmtc.net/tenstorrent/apis/tt-media-server-api-c-drogon.md) · [All operations](https://skmtc.net/tenstorrent/apis/tt-media-server-api-c-drogon/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tenstorrent/tt-media-server-api-c-drogon/versions/f1176db3fd15/schema)
