Is there an API for "manually" marking a workflow as failed?

Sometimes we want to manually mark a workflow as “failed”. We know we can “terminate” a workflow, but marking it as “failed” better indicates the logical result/status of the workflow and the intention of why the workflow was terminated manually, especially when viewing from the workflow list page of Temporal web UI.

Would it help if the list operation would include the reason for termination?

Yes, that would be super helpful!