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

# Get maximum session count

`GET /max-session-count`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/max-session-count`
- Auth: none required
- TypeScript: <https://skmtc.dev/tenstorrent/apis/tt-media-server-api-c-drogon/docs/max-session-count/get.ts> (a function with typed inputs; its response is checked against the schema)

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

## Changes

- **2026-04-28** `5b93bff1aca3`: 1 info
  - endpoint added
- **2026-04-03** `d051d35964ca`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/tenstorrent/apis/tt-media-server-api-c-drogon/changes/max-session-count/get.md)

---

[API](https://skmtc.dev/tenstorrent/apis/tt-media-server-api-c-drogon.md) - [All operations](https://skmtc.dev/tenstorrent/apis/tt-media-server-api-c-drogon/llms.txt) - [OpenAPI document](https://skmtc.dev/tenstorrent/apis/tt-media-server-api-c-drogon/revisions/f1176db3fd15?raw)
