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 (null while QUEUED).

completedAt

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

executionDurationMs
Int

Total wall-clock time in milliseconds from startedAt to completedAt.

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