---
title: "Get Community Slice"
method: GET
path: "/snapshots/{snapshot_id}/communities/{community_id}/slice"
tags: ["graph-views"]
---

# Get Community Slice

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

Per-community slice: member nodes + intra edges + boundary stubs.

## 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

- object

## 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` — 3 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`

[Change history](https://skmtc.dev/repowise/apis/repowise-hosted-api/changes/snapshots/:snapshot_id/communities/:community_id/slice/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/cce15d886f2b?raw)
