sessions

List files in a session workspace with git change status

Changed on
get/api/v1/sessions/{sessionId}/workspace/files

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/sessions/{sessionId}/workspace/files
  • Auth
    none declared

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Response

OK

aheadinteger nullable
behindinteger nullable
commitsTruncatedboolean

True when older commits were left out of commits: the list keeps the newest 250, and stops at the last commit whose changes fit the daemon's size cap.

compareBaseRefstring
compareBaseShastring
compareMode'base' | 'head_fallback'
degradedboolean required
degradedCodestring
sessionIdstring required
truncatedboolean required
workspaceVersionstring required

Changes

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      added the required property / to the response with the status