v1

latestOpenAPI 3.1.02026-07-17182335.0 KB
sessions

Get git diff stats

get git diff stats for the session's work directory

get/api/sessions/{session_id}/git-diff

Path parameters

session_idstring uuid required

Response

Successful Response

is_git_repoboolean required

Whether the directory is a git repo

has_changesboolean

Whether there are uncommitted changes

total_additionsinteger

Total added lines

total_deletionsinteger

Total deleted lines

errorstring nullable

Error message if any