---
title: "Get Segment Leads Breakdown"
method: GET
path: "/api/app-auto-gtm/segments/{segment_id}/leads/breakdown"
tags: ["AppAutoGtm"]
---

# Get Segment Leads Breakdown

`GET /api/app-auto-gtm/segments/{segment_id}/leads/breakdown`

Stat breakdown (geo / job titles / company sizes) for a segment's leads.

Split out of `get_segment_leads` so these full-segment aggregates NEVER
block the page's first paint: the leads list SSR-renders from `/leads`,
while these stats load client-side via a separate non-blocking query.
Pagination doesn't re-compute them either — they don't change per page.

## Path parameters

- `segment_id` integer, required

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Response `200`

Successful Response

- LeadsBreakdown
  - `geo_people` GeoDistItem[], required
    - `country` string, required
    - `count` integer, required
  - `geo_companies` GeoDistItem[], required
    - `country` string, required
    - `count` integer, required
  - `job_titles` JobTitleDistItem[], required
    - `title` string, required
    - `count` integer, required
  - `sizes` SizeDistItem[], required
    - `range` string, required
    - `count` integer, required

## Other responses

- `422` — Validation Error

---

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