Serialize → Save
AI-generatedSummary
Serialize envelope into a JSON payload
Inputs
- envelope (required) — Input JSON that must contain a conversationReference field. May optionally include authContext with tokenSource, validatedClaims.exp, and inboundBearer.
Output shape
object
Contains conversationReference and, depending on options, tokenSource, claimsExp, and inboundBearer.
Examples
Example 1: Save without bearer token
Include Inbound Bearer: false (default). Input must have conversationReference; authContext may be present but its inboundBearer is omitted from output.
Example 2: Save with bearer token
Include Inbound Bearer: true. Input must have conversationReference and authContext.inboundBearer (an Azure AD access token). Output includes inboundBearer; downstream storage must be secured (encrypted at rest, access-controlled) and token lifetime should be bounded by the exp claim.