Cancel Run Endpoint
Cancel or interrupt a running execution.
Use action=cancel to hard-cancel the run immediately, or
action=interrupt to cooperatively interrupt (the graph can handle the
interrupt and save partial state). Set wait=1 to block until the
background task has fully settled before returning the updated run.
Documentation Index
Fetch the complete documentation index at: https://docs.aegra.dev/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Set to 1 to wait for the run task to settle before returning.
0 <= x <= 1Cancellation strategy: 'cancel' for hard cancel, 'interrupt' for cooperative interrupt.
^(cancel|interrupt)$Response
Successful Response
Run entity model
Status values: pending, running, error, success, timeout, interrupted
Unique identifier for the run.
Thread this run belongs to.
Assistant that is executing this run.
Identifier of the user who owns this run.
Timestamp when the run was created.
Timestamp when the run was last updated.
Current run status: pending, running, error, success, timeout, or interrupted.
Input data provided to the run. None for checkpoint-only resume.
Final output produced by the run, or null if not yet complete.
Error message if the run failed.
Configuration passed to the graph at runtime.
Context variables available during execution.