Skip to content
Developer Preview

TurnEntry

A turn as the fold has observed it.

Property Type Stability Presence Description
commandId string optional The submitting command, when an event carried it.
error TurnError optional Present iff the terminal was "failed".
retryScheduled TurnRetryScheduledParams optional The latest scheduled model retry; non-terminal.
state TurnState required
terminal TurnTerminal optional The server’s terminal, verbatim. Absent unless turn/completed folded.
turnId string required
Source

clients/sdk-ts/src/fold/session-fold.ts:209

{
"kind": "Interface",
"canonicalPath": "TurnEntry"
}