1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. CancelAgentTaskRequest

CancelAgentTaskRequest

    Request body for cancelling an agent task. When force is true, the runtime session is terminated immediately and the task is reset to idle, even if it is currently running. This is the escalation path when a graceful cancel is insufficient or the task is stuck.

    Properties

    • force boolean required
      If true, immediately terminate the runtime session and reset the task to idle without attempting a graceful cancel. Required to be true in the current implementation.