Skip to content

InlineAgentTracePart

Source code in docs_src/capo_bedrock_agent_runtime/types/inline_agent_trace_part.py
class InlineAgentTracePart(TypedDict, closed=True):
    session_id: NotRequired["capo_bedrock_agent_runtime.types.session_id.SessionId"]
    """<p>The unique identifier of the session with the agent.</p>"""
    trace: NotRequired["capo_bedrock_agent_runtime.types.trace.Trace"]
    """<p>Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-enablement">Trace enablement</a>. </p>"""
    caller_chain: NotRequired[
        "capo_bedrock_agent_runtime.types.caller_chain.CallerChain"
    ]
    """<p>The caller chain for the trace part.</p>"""
    event_time: NotRequired[
        "capo_bedrock_agent_runtime.types.date_timestamp.DateTimestamp"
    ]
    """<p>The time that trace occurred. </p>"""
    collaborator_name: NotRequired["capo_bedrock_agent_runtime.types.name.Name"]
    """<p>The collaborator name for the trace part.</p>"""

caller_chain instance-attribute

caller_chain: NotRequired[CallerChain]

The caller chain for the trace part.

collaborator_name instance-attribute

collaborator_name: NotRequired[Name]

The collaborator name for the trace part.

event_time instance-attribute

event_time: NotRequired[DateTimestamp]

The time that trace occurred.

session_id instance-attribute

session_id: NotRequired[SessionId]

The unique identifier of the session with the agent.

trace instance-attribute

trace: NotRequired[Trace]

Contains one part of the agent's reasoning process and results from calling API actions and querying knowledge bases. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace enablement.