shellTerminals

Open a standalone shell terminal

post/api/v1/shell-terminals

Request body

projectIdstring

Project whose root the shell starts in. Omitted opens the shell in the daemon data dir.

sessionIdstring

Agent session the shell is scoped to, so it appears only in that session's tab strip. Omitted makes it a standalone shell.

shellstring

Windows shell selector: auto, git-bash, pwsh, powershell, cmd, or a custom executable path. Ignored on macOS and Linux.

Response

Created

Changes

Changed in 3 of the 107 revisions of this API.4

    • added the new optional request property shell

      new-optional-request-property

    • added the new optional request property sessionId

      new-optional-request-property

    • added the optional property shellTerminal/sessionId to the response with the 201 status

      response-optional-property-added

    • endpoint added

      endpoint-added