Send command

Send a new command to a session for execution by the AI assistant.

post/session/{sessionID}/command

Path parameters

sessionIDstring required

Session ID

Query parameters

directorystring

Request body

messageIDstring
agentstring
modelstring
argumentsstring required
commandstring required
variantstring

Response

Created message

Changes

Changed in 7 of the 102 revisions of this API.510

    • added the optional property info/stuckAborted to the response with the 200 status

      response-optional-property-added

    • added the optional property info/stuckNudged to the response with the 200 status

      response-optional-property-added

    • added the optional property info/stepCapped to the response with the 200 status

      response-optional-property-added

    • added the optional property info/structured to the response with the 200 status

      response-optional-property-added

    • added StructuredOutputError to the info/error response property anyOf list for the response status 200

      response-property-any-of-added

    • added the optional property info/tokens/total to the response with the 200 status

      response-optional-property-added

    • added the optional property parts/items/anyOf[StepFinishPart]/tokens/total to the response with the 200 status

      response-optional-property-added

    • added ContextOverflowError to the info/error response property anyOf list for the response status 200

      response-property-any-of-added

    • added the optional property info/variant to the response with the 200 status

      response-optional-property-added

  • c7ae6a68e4fb51See the full diff
    • removed the optional property info/stepCapped from the response with the 200 status

      response-optional-property-removed

    • removed the optional property info/structured from the response with the 200 status

      response-optional-property-removed

    • removed the optional property info/tokens/total from the response with the 200 status

      response-optional-property-removed

    • removed the optional property info/variant from the response with the 200 status

      response-optional-property-removed

    • removed the optional property parts/items/anyOf[StepFinishPart]/tokens/total from the response with the 200 status

      response-optional-property-removed

    • removed StructuredOutputError ContextOverflowError from the info/error response property anyOf list for the response status 200

      response-property-any-of-removed

    This revision also has 36 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog