---
title: "List distribution rules on the headcount plan"
method: GET
path: "/headcount/distribution-rules"
tags: ["Headcount"]
---

# List distribution rules on the headcount plan

`GET /headcount/distribution-rules`

## Request

- Base URL: `https://api.cubesoftware.com`
- URL: `https://api.cubesoftware.com/headcount/distribution-rules`
- Auth: OAuth 2
  - Authorization code: `https://portal.cubesoftware.com/o/authorize/`
  - Token URL: `https://api.cubesoftware.com/o/token/`

A distribution rule is one calculation on the headcount plan. All endpoints return 404 when the company has no headcount plan.

## Headers

- `X-Company-ID` string, required

## Response `200`

- DistributionRule[]
  - `id` integer, required
  - `column_id` string, uuid, required
  - `name` string, required
  - `description` string
  - `target_account_id` integer, nullable
  - `expressions` DistributionRuleExpression[], required
    - `scenario_id` string, nullable, required
    - `expression` string, required

## Changes

> 34 revisions in range; 1 not diffed.

- **2026-10-19** `7c4d6221587a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cubesoftware/apis/cube-api/changes/headcount/distribution-rules/get.md)

---

[API](https://skmtc.dev/cubesoftware/apis/cube-api.md) - [All operations](https://skmtc.dev/cubesoftware/apis/cube-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cubesoftware/apis/cube-api/revisions/92c7a097d975?raw)
