---
title: "List worktrees"
method: GET
path: "/experimental/worktree"
---

# List worktrees

`GET /experimental/worktree`

List all sandbox worktrees for the current project.

## Query parameters

- `directory` string
- `workspace` string

## Response `200`

List of worktree directories

- string[]

---

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