---
title: "Get Community Detail"
method: GET
path: "/snapshots/{snapshot_id}/communities/{community_id}"
tags: ["dashboard"]
---

# Get Community Detail

`GET /snapshots/{snapshot_id}/communities/{community_id}`

Per-community detail — shape, state of the area, members, neighbours.

Served from the indexer's tagged member census, narrowed to the requested
population here. Members are ordered by pagerank (descending) and capped at
200 to keep response size bounded; `truncated` flags when the cap was hit.

## Path parameters

- `snapshot_id` string, required
- `community_id` integer, required

## Query parameters

- `include_tests` boolean — Count test files as members. Off: production only.
- `include_examples` boolean — Count example, demo and benchmark files as members.
- `include_docs` boolean — Count documentation and configuration files as members.

## Response `200`

Successful Response

- CommunityDetailResponse — Mirrors `@repowise-dev/types::CommunityDetail`. Every field here is served from the indexer's tagged member census. The ones marked additive below are defaulted to match the shared type, which has to tolerate an older server — but this route 404s a snapshot without the census into the re-index empty state rather than serving a half-filled panel, so in practice they are all present or the response is not.
  - `community_id` integer, required
  - `label` string, required
  - `cohesion` number, required
  - `conductance` number, nullable
  - `member_count` integer, required
  - `hidden_member_count` integer
  - `members` CommunityMember[], required
    - `path` string, required
    - `pagerank` number
    - `is_entry_point` boolean
    - `is_hotspot` boolean
    - `is_dead` boolean
  - `truncated` boolean
  - `neighboring_communities` NeighboringCommunity[]
    - `community_id` integer, required
    - `label` string, required
    - `cross_edge_count` integer, required
  - `health_score` number, nullable
  - `scored_member_count` integer
  - `hot_count` integer
  - `dead_count` integer
  - `decision_count` integer
  - `primary_owner` string, nullable
  - `primary_owner_file_count` integer

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-08** `b717017b882f` — 3 breaking
  - for the `query` request parameter `include_docs`, default value was changed from `true` to `false`
  - for the `query` request parameter `include_examples`, default value was changed from `true` to `false`
  - for the `query` request parameter `include_tests`, default value was changed from `true` to `false`
- **2026-09-07** `b1654d9bba91` — 14 info
  - added the new optional `query` request parameter `include_docs`
  - added the new optional `query` request parameter `include_examples`
  - added the new optional `query` request parameter `include_tests`
  - added the optional property `conductance` to the response with the `200` status
  - …10 more

[Change history](https://skmtc.dev/repowise/apis/repowise-hosted-api/changes/snapshots/:snapshot_id/communities/:community_id/get.md)

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/repowise/apis/repowise-hosted-api/revisions/8c05b8b9a5c4?raw)
