Header menu logo Nao

TurnRecord Type

A complete record of one orchestration turn: the user prompt, the agent and tools that ran, and the final answer. This is the unit feedback is attached to.

Record fields

Record Field Description

AgentName

Full Usage: AgentName

Field type: string

Agent that handled the turn.

Field type: string

AgentVersion

Full Usage: AgentVersion

Field type: string option

Agent version that handled the turn, if pinned.

Field type: string option

CreatedAt

Full Usage: CreatedAt

Field type: DateTimeOffset

When the turn completed.

Field type: DateTimeOffset

Input

Full Usage: Input

Field type: string

The user's prompt.

Field type: string

Output

Full Usage: Output

Field type: string

The agent's final answer.

Field type: string

SessionId

Full Usage: SessionId

Field type: string

Session this turn belongs to.

Field type: string

SubAgentCalls

Full Usage: SubAgentCalls

Field type: SubAgentCallRecord list

Sub-agents delegated to during the turn, in order.

Field type: SubAgentCallRecord list

ToolCalls

Full Usage: ToolCalls

Field type: ToolCallRecord list

Tools invoked during the turn, in order.

Field type: ToolCallRecord list

TurnId

Full Usage: TurnId

Field type: string

Stable identifier for this turn.

Field type: string

UserId

Full Usage: UserId

Field type: string

User who initiated the turn.

Field type: string

WorkspaceKey

Full Usage: WorkspaceKey

Field type: string

Workspace the turn ran against.

Field type: string

Static members

Static member Description

TurnRecord.Empty

Full Usage: TurnRecord.Empty

Returns: TurnRecord
Returns: TurnRecord

Type something to start searching.