> ## Documentation Index
> Fetch the complete documentation index at: https://docs.permitcore.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Cohorts

> The canonical 23-cohort taxonomy that PermitCore's pipeline classifies every permit into.

> [!NOTE]
>
> The PermitCore product UI calls these **segments**; the API field and
> endpoint keep the name **`cohort`** (e.g. the `cohort` field on a permit, the
> `/cohorts/distribution` endpoint). Same taxonomy — "segment" (product) and
> "cohort" (API) are interchangeable.

Every permit ingested by PermitCore is classified into one of **23 canonical
segments**. Segments are the primary axis for slicing the dataset — by use
type (commercial / residential / industrial / civic) crossed with scope
(new construction / alteration / demolition / MEP / etc.).

## The 23 canonical cohorts

| Slug | Display name | What it covers |
| - | - | - |
| `adu_qualifying` | ADU-Qualifying Construction | Accessory dwelling units — backyard cottages, garage conversions, qualifying ADU builds |
| `civic` | Civic Construction | Public buildings — schools, libraries, transit, government facilities |
| `commercial_alteration` | Commercial Alteration | Tenant improvements, additions, alterations, AND commercial roofing/envelope work |
| `commercial_demolition` | Commercial Demolition | Commercial teardowns + structural demolition + abatement |
| `commercial_hvac` | Commercial HVAC | Commercial heating / ventilation / AC — rooftop units, chillers, mechanical replacements |
| `commercial_mep` | Commercial MEP | Commercial mechanical, electrical, plumbing systems |
| `commercial_new` | Commercial New Construction | Ground-up commercial — offices, retail, mixed-use |
| `commercial_pool` | Commercial Pool Construction | Commercial pools — hotels, gyms, condo amenities, apartments |
| `commercial_shell_only` | Commercial Shell-Only Construction | Building shells without tenant fit-out — speculative + warm-shell builds |
| `commercial_signage` | Commercial Signage Permits | Wall-mounted, monument, illuminated signs at commercial properties |
| `industrial_new` | Industrial New Construction | Warehouses, distribution, manufacturing, data centers |
| `multifamily_alteration` | Multifamily Alteration | Apartment + condo alterations, renovations, envelope work |
| `multifamily_mep` † | Multifamily MEP | Multifamily mechanical, electrical, plumbing systems |
| `multifamily_new` | Multifamily New Construction | Ground-up apartments + condos — 5+ units, R-2 occupancy |
| `residential_alteration` | Residential Alteration | Single-family renovations, additions, kitchen/bath remodels |
| `residential_demolition` | Residential Demolition | Single-family teardowns + accessory-structure demolition |
| `residential_foundation_only` | Residential Foundation-Only | Foundation-only filings — early-phase residential construction |
| `residential_mep` | Residential MEP | Residential mechanical, electrical, plumbing — incl. solar PV |
| `residential_new_sf` | Residential New (Single-Family) | Ground-up single-family homes — detached residential construction |
| `residential_pool` | Residential Pool Construction | Residential pools + spas (single-family / low-density) |
| `solar_residential` | Residential Solar | Residential solar PV installs |
| `storage_residential` | Residential Energy Storage | Residential battery / energy-storage (BESS) installs |
| `temporary_construction_support` | Temporary Construction Support | Scaffolding, hoists, sidewalk sheds, temporary fencing |

> [!NOTE]
>
> **† `multifamily_mep` is a newer cohort — filterable and populated, but narrower and not yet certified.** It returns real data, but it is **not yet held to the ≥99% classification-precision bar** the other 22 segments meet. Today it's classified in **3 metros** (primarily Austin — \~72% of rows — plus New York City and Norfolk), and its filings are **largely historical** (no new filings in the trailing 30-day window at the time of writing). Filter by it knowingly: expect metro-narrow, historical results, not the breadth or certified precision of the core segments. The other 22 are the established, site-certified set.

## What's NOT split out today

The current cohort taxonomy intentionally **rolls up** several specialty
categories that other systems sometimes split:

* **Roofing** — folded into `commercial_alteration` or `residential_alteration` depending on the property
* **HVAC** — folded into `commercial_mep` or `residential_mep`
* **Solar** — folded into `residential_mep` (residential solar PV) or `commercial_alteration` / `commercial_mep` (commercial solar)
* **Fire-protection / sprinkler** — folded into `commercial_mep` / `residential_mep`
* **Data center** — folded into `industrial_new`

These are on the data-pipeline roadmap as future sub-cohort splits. For
now, query the rolled-up parent and filter downstream by permit-type
keywords.

## Cohort assignment

Cohort tags are emitted by PermitCore's LLM-1 classifier per permit. Tags
are deterministic per permit (same input → same cohort) and improve over
time as the classifier is fine-tuned on operator-validated labels. A
per-permit `/v1/permits/{id}/explanation` endpoint surfacing the
classifier's reasoning is on the roadmap.

Every permit has exactly one cohort. No multi-label.

## Querying by cohort

The cohort distribution endpoint surfaces per-jurisdiction counts:

```bash theme={null}
curl "https://api.permitcore.io/v1/jurisdictions/nyc/cohorts/distribution" \
  -H "Authorization: Bearer $PERMITCORE_API_KEY"
```

See [Cohort distribution endpoint →](https://docs.permitcore.io/api-reference/jurisdictions/cohort-distribution.md)
for the full response shape.

The [permit-listing endpoint](https://docs.permitcore.io/api-reference/permits.md)
(`/v1/permits?cohort=…&jurisdiction=…`) lets you paginate the rows
backing each count.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.