v15

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

Initialize git repository

Create a git repository for the current project and return the refreshed project info.

post/project/git/init

Query parameters

directorystring
workspacestring

Response

Project information after git initialization

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