Error
A valid request URL is required to generate request examples{
"role": "<string>",
"contentBlockIndex": 123,
"delta": {
"text": "<string>",
"reasoningContent": {
"text": "<string>",
"signature": "<string>"
},
"toolUse": {
"input": "<string>"
}
},
"stopReason": "<string>",
"start": {
"toolUse": {
"toolUseId": "<string>",
"name": "<string>"
}
},
"usage": {
"inputTokens": 123,
"outputTokens": 123,
"totalTokens": 123,
"cacheReadInputTokens": 123,
"cacheWriteInputTokens": 123
},
"metrics": {
"latencyMs": 123
},
"trace": {},
"additionalModelResponseFields": {},
"invokeModelRawChunk": "aSDinaTvuI8gbWludGxpZnk="
}{
"message": "<string>",
"type": "<string>"
}{
"message": "<string>",
"type": "<string>"
}LangChain Integration
Stream converse with model (LangChain - Bedrock format)
Streams messages using AWS Bedrock Converse-compatible format via LangChain.
POST
/
langchain
/
bedrock
/
model
/
{modelId}
/
converse-stream
Error
A valid request URL is required to generate request examples{
"role": "<string>",
"contentBlockIndex": 123,
"delta": {
"text": "<string>",
"reasoningContent": {
"text": "<string>",
"signature": "<string>"
},
"toolUse": {
"input": "<string>"
}
},
"stopReason": "<string>",
"start": {
"toolUse": {
"toolUseId": "<string>",
"name": "<string>"
}
},
"usage": {
"inputTokens": 123,
"outputTokens": 123,
"totalTokens": 123,
"cacheReadInputTokens": 123,
"cacheWriteInputTokens": 123
},
"metrics": {
"latencyMs": 123
},
"trace": {},
"additionalModelResponseFields": {},
"invokeModelRawChunk": "aSDinaTvuI8gbWludGxpZnk="
}{
"message": "<string>",
"type": "<string>"
}{
"message": "<string>",
"type": "<string>"
}Authorizations
BearerAuthVirtualKeyAuthApiKeyAuth
Body
application/json
Response
Successful streaming response
Flat structure for streaming events matching actual Bedrock API response
Was this page helpful?

