[Deprecated] Terminate the latest workflow run

Force terminates the latest run. Deprecated; use POST /workflow/{id}/runs/{rid}/terminate to target a specific run. Scheduled for removal after 2026-07-16.

post/workflow/{id}/terminate

Path parameters

idstring required

Request body

reasonstring

Response

The workflow run was terminated

terminatedboolean
workflowIdstring
runIdstring

Changes

Changed in 3 of the 20 revisions of this API.349

  • 01552bfa957923See the full diff
    • added to the response body oneOf list for the response status

      response-body-one-of-added

    • the response's body type changed from object to no type for status

      response-body-type-changed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • endpoint deprecated

      endpoint-deprecated

    • added the non-success response with the status

      response-non-success-status-added

    • added the optional property to the response with the status

      response-optional-property-added

  • 0f0e49049ef1116See the full diff
    • the response's body type changed from no type to object for status

      response-body-type-changed

    • removed the optional property from the response with the status

      response-optional-property-removed

    • endpoint reactivated

      endpoint-reactivated

    • removed from the response body oneOf list for the response status

      response-body-one-of-removed

    • removed the non-success response with the status

      response-non-success-status-removed

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    • added the optional property to the response with the status

      response-optional-property-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog