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

---

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