Serialize Hierarchical Context Data

Serializes the hierarchical context data from the Apex embeddedai__RecordApexRepresentation records that are passed as input to a prompt template that generates a summary of the data.

This action is available in API version 62.0 and later.

URI: /services/data/vXX.X/actions/standard/serializeHierarchicalContextData

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: GET

Authentication: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

InputTypeDescription
recordApexRepresentationApex typeRequired
A collection of Apex embeddedai__RecordApexRepresentation records that contain the details of the hierarchical data to serialize context data
OutputTypeDescription
serializedContextDataStringA JSON string of serialized hierarchical context data.

Sample Request

Sample Response