worktree

List worktrees

Return the project's saved worktree inventory without loading configuration or running discovery.

get/api/worktree

Request

  • Base URL: https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL: https://opencode.ai/api/worktree
  • Auth: none required

Query parameters

projectIDstring required

Response

Worktree.List

directorystring required
strategystring

Changes

No recorded changes to this operation across all 1 revision of this API.