Kitaru

SessionNodeCreateRequest

Session node create request.

Attributes

attributeindexint
= Field(ge=0, description='Position within the session, the wire identity.')
attributeparent_indexint | None
= Field(default=None, ge=0, description='Index of the parent node.')
attributesecondary_parent_indexeslist[Annotated[int, Field(ge=0)]]
= Field(default_factory=list, description='Indexes of additional parent nodes.')
attributeexternal_idstr | None
= Field(default=None, description='Id from the source system.')
attributetrace_idstr | None
= Field(default=None, description='Distributed trace id.')
attributenode_typeNodeType
= Field(description='Kind of work the node records.')
attributenamestr
= Field(description='Node name.')
attributestatusNodeStatus
= Field(description='Node status.')
attributeerrorstr | None
= Field(default=None, description='Error from a failed node.')
attributestarted_atAwareDatetime | None
= Field(default=None, description='Time the node started.')
attributeended_atAwareDatetime | None
= Field(default=None, description='Time the node ended.')
attributeinput_text_selectorstr | None
= Field(default=None, description='RFC 6901 JSON Pointer selecting display text from node inputs.')
attributeoutput_text_selectorstr | None
= Field(default=None, description='RFC 6901 JSON Pointer selecting display text from node outputs.')
attributesystem_prompt_selectorstr | None
= Field(default=None, description='RFC 6901 JSON Pointer selecting the system prompt from node inputs.')
attributereasoningstr | None
= Field(default=None, description='Visible reasoning produced by the model call.')
attributeinputsAny
= Field(description='Node inputs.')
attributeoutputsAny
= Field(description='Node outputs.')
attributerequested_modelstr | None
= Field(default=None, description='Model requested by the call.')
attributemodelstr | None
= Field(default=None, description='Model that served the call.')
attributemodel_providerstr | None
= Field(default=None, description='Model provider.')
attributetokensTokenUsage | None
= Field(default=None, description='Token usage.')
attributecostDecimal | None
= Field(default=None, description='Cost of the call.')
attributemodel_paramsdict[str, JsonValue] | None
= Field(default=None, description='Parameters passed to the model.')
attributetool_namestr | None
= Field(default=None, description='Tool called.')
attributesubagent_idstr | None
= Field(default=None, description='Subagent invoked.')
attributeattributesAny
= Field(description='Arbitrary span attributes.')
attributemetadatadict[str, JsonValue]
= Field(default_factory=dict, description='Arbitrary metadata.')

On this page