Skip to main content
POST
Interrupt an active run

Authorizations

Authorization
string
header
required

A Modus personal access token (modus_<orgUuid>_<prefix>_<secret>) or an OAuth 2.1 access token, sent as Authorization: Bearer <token>.

Path Parameters

runId
string
required

Body

application/json
nextRun
object
required

Follow-up message that supersedes the current turn.

organizationId
string

Organization the run belongs to. Omit for PAT/SDK callers — falls back to the authenticated principal's org.

lastSeenEventId
string

Redis Stream id of the last SSE frame the client rendered (see CancelRunDto).

Response

202 - undefined