II.
ModelTransportProtocol JSON
Structured · livemodel-transport:bedrock-bidirectional-stream
AWS Bedrock InvokeModelWithBidirectionalStream json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "model-transport:bedrock-bidirectional-stream",
"_kind": "ModelTransportProtocol",
"_file": "compute/model-transport-protocols/bedrock-bidirectional-stream.yaml",
"_cluster": "compute",
"attributes": {
"displayName": "AWS Bedrock InvokeModelWithBidirectionalStream",
"vendor": "Amazon Web Services",
"specUrl": "https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModelWithBidirectionalStream.html",
"streamingFraming": "aws-event-stream",
"usageEnvelope": "bedrock-usage",
"thinkingChannel": "none",
"firstSpecVersion": "2025-12-02",
"currentSpecVersion": "2025-12-02",
"status": "standard",
"requestBodyShape": "POST /model/{modelId}/invoke-with-bidirectional-stream\nA Bedrock Runtime bidirectional event stream where the client sends\nprovider-native input events and receives model output events over the\nsame invocation. Nova 2 Sonic uses this surface for low-latency\nspeech-to-speech conversation flows.\n",
"responseBodyShape": "HTTP 200 application/vnd.amazon.eventstream with interleaved model output\nand metadata/error events. Payload details are provider/model native for\nspeech-to-speech streaming models such as Amazon Nova 2 Sonic.\n",
"streamingEventTypes": [
"input",
"output",
"metadata",
"validationException",
"throttlingException",
"modelStreamErrorException",
"internalServerException"
],
"errorEnvelope": "Errors follow Bedrock Runtime event-stream exception events or the standard\nBedrock JSON error envelope with `message` and `__type` fields.\n",
"rateLimitSignaling": "On throttling or service quota failures, clients should use standard AWS\nretry semantics with exponential backoff and jitter. Per-model quota state\nis managed through AWS Service Quotas and CloudWatch rather than a\ncross-provider remaining-budget response header.\n",
"authHeaderFormat": "AWS Signature Version 4 over the request:\n `Authorization: AWS4-HMAC-SHA256 ...`\n `x-amz-date: <ISO8601>`\n `x-amz-security-token: <session-token>` for STS / role credentials.\nEndpoint: `https://bedrock-runtime.<region>.amazonaws.com`.\n",
"versioningHeader": "No protocol-version header on the request. The API surface is versioned\nthrough the Bedrock Runtime endpoint and model id.\n",
"notes": "This protocol node is separate from Bedrock Converse because Nova 2 Sonic\nis tracked as bidirectional speech-to-speech streaming, not a standard\nrequest/response text chat model.\n"
},
"outgoingEdges": [
{
"from": "model-transport:bedrock-bidirectional-stream",
"to": "layer:3-transport",
"kind": "realizes",
"attributes": {}
},
{
"from": "model-transport:bedrock-bidirectional-stream",
"to": "provider:aws-bedrock",
"kind": "served_by"
},
{
"from": "model-transport:bedrock-bidirectional-stream",
"to": "model:amazon-nova-2-sonic@current",
"kind": "spoken_by"
}
],
"incomingEdges": [
{
"from": "model:amazon-nova-2-sonic@current",
"to": "model-transport:bedrock-bidirectional-stream",
"kind": "speaks"
}
]
}