Cancel run
Chat
Cancel run
Stop a running thread execution (e.g. when the user clicks stop in the chat). Optionally wait for the run to fully stop or rollback.
POST
Cancel run
Authorizations
Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:
Headers
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
Example:
"b737d8af-a9e0-4251-9714-3fdc1126e5fb"
Run ID to cancel
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Response
Operation completed successfully