v44

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-05-192301780.0 KB
Agents

Cancel run

Cancels a running or queued run. Idempotent — cancelling a finished run returns its current status.

post/agent/v1/run/{id}/cancel

Path parameters

idstring required

Run ID

Response

Run cancelled (or already finished)

idstring
status'cancelled' | 'completed' | 'failed'
messagestring

Present if run was already finished