• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

StopWorkflowRun

This API stops a running workflow.

Input parameters

Parameter

Type

Required

Description

accountId

Number

Yes

Your account ID.

runId

String

Yes

The unique identifier of the workflow run to stop. Obtained from StartWorkflowRun API.

Sample request

mutation {
workflowAutomationStopWorkflowRun(
accountId: 11933347
runId: "7ffbe082-8efa-4d3d-901a-a08bcf22bcd3"
) {
runId
}
}

Sample response

The mutation returns:

  • runId: The unique identifier of the stopped workflow run. Returns an empty runId if the workflow is not found.

Start workflow run

Execute a workflow to get a runId

Workflow run info

Monitor workflow status before stopping

Troubleshooting

Understand when to stop workflows

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.