worktree
List worktrees
Return the project's saved worktree inventory without loading configuration or running discovery.
get/api/worktree
Request
- Base URLhttps://opencode.ai (the document declares no server; this is the origin it was published from)
- URLhttps://opencode.ai/api/worktree
- Authnone required
Query parameters
projectIDstring required
Response
Worktree.List
Changes
No operation changes recorded.