The prompts about to be sent for this attempt. The user
message includes any retry-suffix appended on attempt 2+
after a prior schema-validation failure — identical to
the same attempt's stage:llm-call.prompts.user.
1, 2, ... — the attempt index this id belongs to.
Emitted by llmStage as soon as a response id is known.
In background+stream mode the id is available from the
initial submit POST response before any SSE bytes, making
this event the earliest durable persistence point.
In synchronous mode the id is only known at completion, so
this event fires immediately before stage:llm-call on
the same attempt; early-persistence is a background-mode-
only guarantee.
The OpenAI response id for this attempt.
1, 2, ... — one event per LLM-call attempt.
Raw LLM JSON as returned. May not conform to the
stage's outputSchema if validationError is set.
The actual prompts sent for this attempt (the user message includes any retry-suffix appended on attempt 2+ after a prior schema-validation failure).
OptionalrawResponseId?: stringThe OpenAI response id for this attempt, when the provider surfaces one. Absent for providers that do not expose a response id (e.g. the chat-completions provider) and for attempts where the id could not be captured before completion.
OptionalvalidationError?: stringSet iff outputSchema rejected this output. When the
schema accepted the output the field is undefined.
1, 2, ... — one event per LLM-call attempt, emitted before the provider call resolves. Symmetric with the post-call
stage:llm-call.attempt.