---
title: "Get a synaptic graph between skeletons compartmentalized by confidence."
method: POST
path: "http://localhost:8000/{project_id}/skeletons/confidence-compartment-subgraph"
tags: ["skeletons"]
---

# Get a synaptic graph between skeletons compartmentalized by confidence.

`POST http://localhost:8000/{project_id}/skeletons/confidence-compartment-subgraph`

Get a synaptic graph between skeletons compartmentalized by confidence.

Given a set of skeletons, retrieve presynaptic-to-postsynaptic edges
between them, annotated with count. If a confidence threshold is
supplied, compartmentalize the skeletons at edges in the arbor
below that threshold and report connectivity based on these
compartments.

When skeletons are split into compartments, nodes in the graph take an
string ID like ``{skeleton_id}_{compartment #}``.

## Path parameters

- `project_id` string, required

## Response `201`

Created

## Changes

- **2020-06-24** `80927abb02ba` — 1 info
  - endpoint added
- **2019-08-15** `2b6c094737cc` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/catmaid/apis/catmaid-api/changes/http:/localhost:8000/:project_id/skeletons/confidence-compartment-subgraph/post.md)

---

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