Skip to main content
POST
Cancels a prompt that is currently being processed by the coding agent. The agent stops immediately and no further output is produced. Required scope: sessions:prompt

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Response

string
Session ID.
boolean
Whether a running prompt was cancelled.