git

Get Git status

Returns the current repository and worktree status

get/v1/git/status

Response

OK

repositoriesobject

All loaded repositories mapped by repository ID

worktree_countinteger

Total number of worktrees across all repositories

Example response

{
  "worktree_count": 3
}

Changes

No recorded changes to this endpoint across all 50 revisions of this API.