Skip to content

EnsureRunTraceOptions

EnsureRunTraceOptions = object

Options for attaching a fallback run trace to a harness result.

finishedAt: Date

Wall-clock finish time for the harness run.


optional id?: string

Optional trace id. A generated id is used when omitted.


name: string

Human-readable run or harness name.


optional operationName?: GenAiOperationName

GenAI operation name to place on the root run span.


optional source?: string

Optional JSON-safe source marker for the trace metadata.


startedAt: Date

Wall-clock start time for the harness run.