FlowsInterfaceTerminateMessage
HTTP API schema
← HTTP API referenceView source specification ↗
Stop a running flow, optionally gracefully and with cleanup.
FlowsInterfaceTerminateMessage fields
- flowId
stringRequired Unique identifier for the flow to terminate
minLength: 1
- reason
stringRequired Reason for termination
Allowed values: USER_REQUEST, ERROR, TIMEOUT, COMPLETION, CANCELLATION.
- graceful
boolean Whether to perform graceful termination
Default:
true- cleanup
boolean Whether to perform cleanup operations
Default:
true- metadata
object Additional metadata for the termination