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

---

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