Setting up Bedrock Guardrails

Bedrock Guardrails

Use Portkey to enforce structured inputs, safe outputs, and usage policies across all Bedrock requests. Configure verdict actions like async checks, request denial, and feedback logging, according to your enforcement needs.

Bedrock Guardrails

Amazon Bedrock gives you access to some of the most advanced foundation models from leading providers, but running them in production requires more than raw capability. With Portkey, you can apply customizable guardrails to every Bedrock request, ensuring safety, compliance, and control without changing your application code.

Bedrock supports models like Anthropic’s Claude, Meta’s Llama, Mistral, Amazon’s Titan, Cohere, and even OpenAI’s o3 and Whisper. These models are used across use cases like chat, summarization, document analysis, code generation, and multimodal tasks.

Portkey integrates seamlessly with all Bedrock-supported models via its gateway, helping you standardize guardrails, monitor usage, and route requests intelligently, without vendor lock-in.

With Portkey, you can:

Portkey supports all Bedrock models out of the box and can be deployed in hours, not weeks, making it the easiest way to bring enterprise-grade control to your AI stack.

World-Class Guardrail Partners

Integrate top guardrail platforms with Portkey to run your custom policies seamlessly — from content filtering and PII detection to moderation and compliance. Ensure every AI request is safe, auditable, and aligned with your enterprise standards.

Guardrail checks you can apply to Bedrock

Portkey offers both deterministic and LLM-powered guardrails that work seamlessly with Bedrock’s APIs. You can apply these checks to inputs, outputs, or both.

Input guardrails
Output guardrails

How to add guardrails to Bedrock with Portkey

Adding Portkey Guardrails in production is just a 4-step process:

  1. Create Guardrail Checks
  2. Create Guardrail Actions
  3. Enable Guardrail through Configs
  4. Attach the Config to a Request

Guardrail action settings

Frequently Asked Questions

Safeguard your Bedrock requests now.

Whether you're running production workloads, or scaling across teams, Portkey’s guardrails give you control without compromise.

Portkey, Inc.

2261 Market Street #5205, San Francisco, CA