v15

latestOpenAPI 3.1.1raw.githubusercontent.com2026-06-05137173413.9 KB

List all projects

Get a list of projects that have been opened with OpenCode.

get/project

Query parameters

directorystring
workspacestring

Response

List of projects

idstring required
worktreestring required
vcs'git'
namestring
sandboxesstring[] required