Git status and diff summary for each repo in the session's workspace [read]

Changed on

Finds up to 10 git repositories within three levels of the workspace root and, for each, runs git status --porcelain=v1 and git diff --stat HEAD inside the pod as the workspace owner, with fsmonitor, hooks, external diff drivers and textconv disabled. Each output is bounded to 200 lines. repos is empty when the workspace has no repository. Never wakes the pod: 409 session_parked when it is not running, 409 workspace_unsupported when its runtime has no exec or resumes a parked sandbox on contact (E2B), 503 workspace_unavailable when the read cannot run as the workspace owner.

get/sessions/{id}/workspace/changes

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/sessions/{id}/workspace/changes
  • Auth
    HTTP bearer

Path parameters

idstring required

The session id

Response

OK

rootstring
limitinteger

most repos reported

Changes