event_id: string

The unique ID of the event.

minLength0

The item that was added.

output_index: number | null

The index of the item in the turn output, when the item is agent output.

formatint64
minimum0
maximum4294967295
session_id: string

The ID of the session associated with the event.

minLength0
turn_id: string | null

The ID of the turn associated with the event, when applicable.

minLength0
type: "agent.session.turn.item.added"

The type of the object. Always agent.session.turn.item.added.

obfuscation?: string

Random alphanumeric padding. Present when stream obfuscation is enabled.

minLength0