Skip to main content
DELETE
Cancel a queued follow-up or queued agent turn

Authorizations

X-Api-Key
string
header
required

Workspace API key, created in the dashboard under Settings → API Keys.

Path Parameters

id
string
required

Session ID.

invocationId
string
required

Query Parameters

workspaceId
string<uuid>

Workspace the request is scoped to. Optional for API keys: a key is bound to one workspace when it is created, and naming any other workspace returns an opaque 404.

Response

The queued entry was cancelled

ok
boolean
required
sessionId
string
required
invocationId
string
required
queuedEventId
string
required
alreadyCancelled
boolean

Present and true when the entry had already been cancelled.