---
title: "List open leaf nodes in a skeleton."
method: POST
path: "http://localhost:8000/{project_id}/skeletons/{skeleton_id}/open-leaves"
tags: ["skeletons"]
---

# List open leaf nodes in a skeleton.

`POST http://localhost:8000/{project_id}/skeletons/{skeleton_id}/open-leaves`

List open leaf nodes in a skeleton.

Return a list of the ID and location of open leaf nodes in a skeleton,
their path length distance to the specified treenode, and their creation
time.

Leaves are considered open if they are not tagged with a tag matching
a particular regex.

.. note:: This endpoint is used interactively by the client so performance
is critical.

## Path parameters

- `project_id` string, required
- `skeleton_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/:skeleton_id/open-leaves/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)
