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

## Request

- Base URL: `https://api.repowise.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.repowise.dev/snapshots/{snapshot_id}/communities/{community_id}/slice`
- Auth: HTTP bearer

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`

[Operation 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/3037f631a606?raw)
