---
title: "Get the number of synapses per type for r a set of skeletons."
method: POST
path: "http://localhost:8000/{project_id}/skeletons/connectivity-counts"
tags: ["skeletons"]
---

# Get the number of synapses per type for r a set of skeletons.

`POST http://localhost:8000/{project_id}/skeletons/connectivity-counts`

Get the number of synapses per type for r a set of skeletons.

Returns an object with to fields. The first, `connectivity`, is a mapping
from skeleton ID to objects that map a relation ID to connectivity count for
that particular relation. The second field of the returned object,
`relations`, maps relation IDs used in the first field to relation names.

## Path parameters

- `project_id` string, required
- `count_partner_links` 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/connectivity-counts/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)
