---
title: "Return a sparse connectivity matrix representation for the given skeleton"
method: POST
path: "http://localhost:8000/{project_id}/skeleton/connectivity_matrix"
tags: ["skeleton"]
---

# Return a sparse connectivity matrix representation for the given skeleton

`POST http://localhost:8000/{project_id}/skeleton/connectivity_matrix`

Return a sparse connectivity matrix representation for the given skeleton
IDs. The returned dictionary has a key for each row skeleton having
outgoing connections to one or more column skeletons. Each entry stores a
dictionary that maps the connection partners to the individual outgoing
synapse counts.

## 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/skeleton/connectivity_matrix/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)
