

# PostProcessingTrace
<a name="API_agent-runtime_PostProcessingTrace"></a>

Details about the post-processing step, in which the agent shapes the response.

## Contents
<a name="API_agent-runtime_PostProcessingTrace_Contents"></a>

**Important**  
This data type is a UNION, so only one of the following members can be specified when used or returned.

 ** modelInvocationInput **   <a name="bedrock-Type-agent-runtime_PostProcessingTrace-modelInvocationInput"></a>
The input for the post-processing step.  
+ The `type` is `POST_PROCESSING`.
+ The `text` contains the prompt.
+ The `inferenceConfiguration`, `parserMode`, and `overrideLambda` values are set in the [PromptOverrideConfiguration](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_PromptOverrideConfiguration.html) object that was set when the agent was created or updated.
Type: [ModelInvocationInput](API_agent-runtime_ModelInvocationInput.md) object  
Required: No

 ** modelInvocationOutput **   <a name="bedrock-Type-agent-runtime_PostProcessingTrace-modelInvocationOutput"></a>
The foundation model output from the post-processing step.  
Type: [PostProcessingModelInvocationOutput](API_agent-runtime_PostProcessingModelInvocationOutput.md) object  
Required: No

## See Also
<a name="API_agent-runtime_PostProcessingTrace_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agent-runtime-2023-07-26/PostProcessingTrace) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agent-runtime-2023-07-26/PostProcessingTrace) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agent-runtime-2023-07-26/PostProcessingTrace) 