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.
Inheritors
Types
Details about the custom orchestration step in which the agent determines the order in which actions are executed.
Contains information about the failure of the interaction.
The trace details for a trace defined in the Guardrail filter.
Details about the orchestration step, in which the agent determines the order in which actions are executed and which knowledge bases are retrieved.
Details about the post-processing step, in which the agent shapes the response..
Details about the pre-processing step, in which the agent contextualizes and categorizes user inputs.
A routing classifier's trace.
Functions
Casts this Trace as a CustomOrchestrationTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.CustomOrchestrationTrace value. Throws an exception if the Trace is not a CustomOrchestrationTrace.
Casts this Trace as a CustomOrchestrationTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.CustomOrchestrationTrace value. Returns null if the Trace is not a CustomOrchestrationTrace.
Casts this Trace as a FailureTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FailureTrace value. Throws an exception if the Trace is not a FailureTrace.
Casts this Trace as a FailureTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FailureTrace value. Returns null if the Trace is not a FailureTrace.
Casts this Trace as a GuardrailTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.GuardrailTrace value. Throws an exception if the Trace is not a GuardrailTrace.
Casts this Trace as a GuardrailTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.GuardrailTrace value. Returns null if the Trace is not a GuardrailTrace.
Casts this Trace as a OrchestrationTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.OrchestrationTrace value. Throws an exception if the Trace is not a OrchestrationTrace.
Casts this Trace as a OrchestrationTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.OrchestrationTrace value. Returns null if the Trace is not a OrchestrationTrace.
Casts this Trace as a PostProcessingTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PostProcessingTrace value. Throws an exception if the Trace is not a PostProcessingTrace.
Casts this Trace as a PostProcessingTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PostProcessingTrace value. Returns null if the Trace is not a PostProcessingTrace.
Casts this Trace as a PreProcessingTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PreProcessingTrace value. Throws an exception if the Trace is not a PreProcessingTrace.
Casts this Trace as a PreProcessingTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.PreProcessingTrace value. Returns null if the Trace is not a PreProcessingTrace.
Casts this Trace as a RoutingClassifierTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.RoutingClassifierTrace value. Throws an exception if the Trace is not a RoutingClassifierTrace.
Casts this Trace as a RoutingClassifierTrace and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.RoutingClassifierTrace value. Returns null if the Trace is not a RoutingClassifierTrace.