Run shell command

Changed on

Execute a shell command within the session context and return the AI's response.

post/session/{sessionID}/shell

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

sessionIDstring required

Session ID

Query parameters

directorystring

Request body

agentstring required
commandstring required

Response

Created message

idstring required
sessionIDstring required
role'assistant' required
parentIDstring required
modelIDstring required
providerIDstring required
modestring required
agentstring required
summaryboolean
costnumber required
structuredunknown
variantstring
finishstring
stepCappedboolean
stuckNudgedboolean
stuckAbortedboolean

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status