ai.v1.AssistantService
CancelRun
CancelRun asks an active run to stop. It returns once the request is recorded; the run then ends with RunFailed and category CANCELLED, and its subagents stop too. A pending approval of the run expires. Cancelling a run that already ended changes nothing and succeeds.
Method
POST
Path
ai.v1.AssistantService/CancelRun
Service
ai.v1.AssistantService
Visibility
Authentication
Session token
MFA Requirement
Not required
POST
ai.v1.AssistantService/CancelRun Request
Testnet
Responses
Request
ai.v1.CancelRunRequestResponse
ai.v1.CancelRunResponse runId string (fixed64)
Run to cancel.
No response fields documented for this type.