View a markdown version of this page

SessionMetadataShape - Amazon Bedrock AgentCore Data Plane

SessionMetadataShape

Metadata for a specific session in a batch evaluation, including ground truth data and test scenario identifiers.

Contents

sessionId

The unique identifier of the session this metadata applies to.

Type: String

Required: Yes

groundTruth

The ground truth data for this session, including expected responses and assertions.

Type: GroundTruthSource object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

metadata

Additional key-value metadata associated with this session.

Type: String to string map

Required: No

testScenarioId

An optional test scenario identifier for categorizing and tracking evaluation results.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: