OptionalattributesFree-form attributes to show in the span's details pane.
OptionalendEnd timestamp in milliseconds since epoch, or undefined while running.
OptionalerrorError message if status is 'error'.
OptionalllmLLM-specific details (present for chat/completion/embedding spans).
Optionalparentundefined for the root span of the trace.
OptionalpromptThe prompt this span is attributed to, if any.
Stored as emitted (evalution.prompt.id plus optional
evalution.prompt.provider.id): a PromptID whose id is global
unless providerId is set. The server resolves it against the prompt
registry to a provider-scoped reference when a trace is served.
Start timestamp in milliseconds since epoch.
OptionalstatusOptionaltool
A span in a Trace. Spans form a tree via parentId. Durations are derived from
startTimeandendTime; an in-progress span has noendTimeyet.