Skip to main content
POST
Cancel a run

Authorizations

Authorization
string
header
required

API key authentication. Get your API key from the workspace settings.

Example: Authorization: Bearer cordage_xxxxxxxxxxxx

Path Parameters

key
string
required

The webhook key

Example:

"wh_abc123xyz"

runId
string<uuid>
required

The run ID to cancel

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

Run cancelled successfully

run_id
string<uuid>
required

The cancelled run's ID

status
enum<string>
required

Always 'cancelled' for a successful kill

Available options:
cancelled
message
string
required

Human-readable status message