SessionNodeCreateRequest

Session node create request.

Session node create request.

Attributes

attributeexternal_idstr
= Field(min_length=1, description='Id from the source system, the wire identity.')
attributeparent_external_idstr | None
= Field(default=None, description='External id of the parent node.')
attributelinkslist[NodeLink]
= Field(default_factory=list, description='Links to other nodes of the session.')
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.')
attributereasoning_selectorslist[str]
= Field(default_factory=list, description='RFC 6901 JSON Pointers selecting visible reasoning from node outputs.')
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