Error
A valid request URL is required to generate request examples{}Bedrock Integration
Invoke model with streaming (Bedrock format)
Invokes a model with streaming using AWS Bedrock InvokeModelWithResponseStream API format.
POST
/
bedrock
/
model
/
{modelId}
/
invoke-with-response-stream
Error
A valid request URL is required to generate request examples{}Authorizations
BearerAuthBasicAuthVirtualKeyAuthApiKeyAuth
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Path Parameters
Model ID (e.g., anthropic.claude-3-sonnet-20240229-v1:0)
Body
application/json
Raw model invocation request. The body format depends on the model provider. For Anthropic models, use Anthropic format. For other models, use their native format.
Text prompt to complete
Anthropic-style max tokens
Anthropic-style stop sequences
For Claude 3 models
System prompt (string or array of strings)
Response
Successful streaming response
AWS event stream format
Was this page helpful?
⌘I

