Skip to main content

WorkflowExecution

Description

An execution instance of a Workflow with full state tracking and observability

Properties

NameTypeDescriptionNotes
workflowIdUUIDReference to the Workflow definition being executed[optional]
versionIntegerWorkflow version number at execution time for reproducibility[optional]
stateStateEnumCurrent execution state[optional]
startedAtOffsetDateTimeTimestamp when execution started[optional]
finishedAtOffsetDateTimeTimestamp when execution completed or failed[optional]
parentExecutionIdUUIDReference to parent execution for nested/sub-workflows[optional]
triggerTypeTriggerTypeEnumHow this execution was triggered[optional]
triggerPayloadStringJSON payload that initiated execution[optional]
contextDataStringExecution context - merged state from WorkflowState[optional]
errorMessageStringError message if execution failed[optional]
errorStackTraceStringFull stack trace for debugging[optional]
metricsSnapshotStringJSON snapshot of execution metrics (duration, costs, step counts)[optional]
idUUIDUnique identifier for object in the system[optional] [readonly]
ownerIdUUIDUUID of owner of the object in the system[optional] [readonly]
createdDateOffsetDateTimeDate of object creation[optional] [readonly]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional] [readonly]
lastAccessedByIdUUIDLast user to access object[optional] [readonly]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional] [readonly]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional] [readonly]
lastModifiedDateOffsetDateTimeDate of last object modification[optional] [readonly]

Enum: StateEnum

NameValue
PENDING"PENDING"
RUNNING"RUNNING"
PAUSED"PAUSED"
SUCCESS"SUCCESS"
FAILED"FAILED"
CANCELLED"CANCELLED"
TIMEOUT"TIMEOUT"

Enum: TriggerTypeEnum

NameValue
MANUAL"MANUAL"
CRON"CRON"
EVENT"EVENT"
WEBHOOK"WEBHOOK"
QUEUE"QUEUE"

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0.1-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-12-03T11:13:18.492704-08:00[America/Los_Angeles]