Skip to main content
QUERY
workflowExecution(workflowExecutionId: ID!): WorkflowExecution

Arguments

workflowExecutionId
ID!
required
id
ID!
workflowId
ID!
workflow

The workflow this execution belongs to. Null if the workflow has been deleted.

triggeredBy
String!

The event type that triggered this execution (e.g., thread.thread_created).

executionStatus
errorMessage
String

Human-readable error message when executionStatus is FAILED.

startedAt

When the execution began processing. While QUEUED, the time it was enqueued.

completedAt

When the execution reached a terminal state (SUCCESS, FAILED, or CANCELLED).

executionDurationMs
Int

How long the run took to execute, in milliseconds. Measured from when it began processing, so it excludes time spent queued.

The type of entity this execution was triggered for.

entityId
ID

The ID of the entity this execution was triggered for.

manuallyTriggeredBy

The actor that manually triggered this execution, if it was manually triggered.

stepExecutions

The step executions for this workflow execution.

Query
Variables
Response