Skip to main content
POST
Cancel run

Authorizations

x-api-key
string
header
required

Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:

Headers

x-username
string
default:(project default user)

External user (end user) to act as. Optional — if omitted, Flowra uses the project’s default external user. Send a stable username (e.g. customer_alice) only when you need another end-user context.

Path Parameters

thread_id
string
required

Thread ID

Example:

"b737d8af-a9e0-4251-9714-3fdc1126e5fb"

run_id
string
required

Run ID to cancel

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Query Parameters

wait
string

If true, wait until the run has fully stopped before returning

Example:

false

action
enum<string>

interrupt stops the run; rollback reverts to the previous checkpoint

Available options:
interrupt,
rollback

Response

Operation completed successfully