• /
  • EnglishEspañolFrançais日本語한국어Português
  • Inicia sesiónComenzar ahora

WorkflowRunInfo

This API retrieves information about a specific workflow run, including its status, log URL, and any workflow state saved during execution.

Input parameters

Parameter

Type

Required

Description

account.id

Number

Yes

Your account ID.

runId

String

Yes

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

state.keys

String[]

No

An array of state key names to retrieve. Returns only matching key-value pairs saved by state steps in the workflow. Keys not found in the workflow state are omitted from the response.

Sample request

Use the Query Builder to create and edit a workflow. See NerdGraph API explorer.

{
actor {
account(id: 11933347) {
workflowAutomation {
workflowRunInfo(runId: "8911c7e4-5a1f-4316-90c8-67adde72dd1c") {
state(keys: ["foo", "count"]) {
key
value
}
logUrl
status
}
}
}
}
}

Sample response

The query returns:

  • logUrl: URL to view the workflow execution logs.
  • status: The current status of the workflow run. Possible values: STARTED, COMPLETED, FAILED, TIMED_OUT, STOPPED.
  • state: An array of { key, value } objects for each requested key found in the workflow state. Keys not present in the workflow state are omitted.
{
"data": {
"actor": {
"account": {
"workflowAutomation": {
"workflowRunInfo": {
"logUrl": "https://one.newrelic.com/...",
"status": "COMPLETED",
"state": [
{ "key": "foo", "value": "bar" },
{ "key": "count", "value": "2" }
]
}
}
}
}
}
}

Start workflow run

Execute a workflow to get a runId

Stop workflow run

Cancel a running workflow instance

Signal workflow run

Send input to workflows waiting for signals

Troubleshooting

Debug common workflow execution errors

Copyright © 2026 New Relic Inc.

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