js-bao-wss-client / WorkflowStepRunRecord
Interface: WorkflowStepRunRecord
A persisted step run record with debugging data
Properties
config?
optionalconfig:any
Rendered step config (after template evaluation)
context?
optionalcontext:any
Snapshot of input and previous step outputs at the time this step ran
durationMs?
optionaldurationMs:number
endedAt?
optionalendedAt:string
error?
optionalerror:string|null
Error message if the step failed
errorDetails?
optionalerrorDetails:any
Structured error details (stack trace, cause chain) if the step failed
input?
optionalinput:any
Resolved input to the step
inputTokens?
optionalinputTokens:number
output?
optionaloutput:any
Output from the step
outputTokens?
optionaloutputTokens:number
rawConfig?
optionalrawConfig:any
Original step config before template rendering (for transform steps)
retryCount?
optionalretryCount:number
runId
runId:
string
startedAt?
optionalstartedAt:string
status
status:
string
completed | failed | skipped
stepId
stepId:
string
stepIndex
stepIndex:
number
stepKind
stepKind:
string
stepRunId
stepRunId:
string
templateWarnings?
optionaltemplateWarnings:any
Template warnings captured during step execution
totalTokens?
optionaltotalTokens:number