---
title: "Calculate optimal headcounts for group, excluding limit rules"
method: GET
path: "/v2/forecast-calculation/groups/{groupId}/optimal-headcounts"
tags: ["Forecast Optimal Headcounts"]
---

# Calculate optimal headcounts for group, excluding limit rules

`GET /v2/forecast-calculation/groups/{groupId}/optimal-headcounts`

## Path parameters

- `groupId` integer, required

## Query parameters

- `startTime` string, date-time, required
- `endTime` string, date-time, required

## Response `200`

OK

## Changes

- **2026-08-13** `70a12bbb88c9` — 1 info
  - the endpoint scheme security `OAuth2ClientCredentials` was added to the API

[Change history](https://skmtc.dev/quinyx/apis/quinyx-api/changes/v2/forecast-calculation/groups/:groupId/optimal-headcounts/get.md)

---

[API](https://skmtc.dev/quinyx/apis/quinyx-api.md) · [All operations](https://skmtc.dev/quinyx/apis/quinyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quinyx/quinyx-api/revisions/df5d81eb4c36/schema)
