v1

latestOpenAPI 3.1.12026-07-17124229467.0 KB

Cancel a queued or running prompt job

Idempotent: cancelling an already-terminal job is a no-op. For a running job this also signals the worker to abort the in-flight turn.

delete/session/{sessionID}/queue/{jobID}

Path parameters

sessionIDstring required
jobIDstring required

Query parameters

directorystring
workspacestring

Response

Cancelled