Cloudflare Docs
AI Gateway
Edit this page on GitHub
Set theme to dark (⇧+D)

Amazon Bedrock

When making requests to Amazon Bedrock, replace in the URL you’re currently using with

Then add the model you want to run at the end of the URL.

curl \
-u AccessKey:SecretKey \
-H "Content-Type: application/json" \
-v --aws-sigv4 aws:amz:us-east-1:bedrock \
-d '{
"inputText": "Cloudflare’s AI Gateway allows you to gain visibility and control over your AI apps"