---
title: "Health Check"
method: GET
path: "/health"
---

# Health Check

`GET /health`

Return a lightweight service health and active-session snapshot.

Args:
    None.

Returns:
    A healthy status string and the current number of registered sessions.

Raises:
    None.

Behavior:
    The endpoint reads only the in-memory registry and does not expire sessions,
    await solver work, or probe Z3. It therefore confirms process responsiveness
    rather than the satisfiability or completion of individual requests.

## Response `200`

Successful Response

- HealthCheck — Health check response model. **Usage:** ```python HealthCheck(status="healthy", active_sessions=0) ``` **Fields:** - status: Health status of the service - active_sessions: Number of active schedule generation sessions
  - `status` 'healthy', required
  - `active_sessions` integer, required

---

[API](https://skmtc.net/mucsci/apis/course-scheduler-api.md) · [All operations](https://skmtc.net/mucsci/apis/course-scheduler-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mucsci/course-scheduler-api/revisions/f728bfcee693/schema)
