Short answer: before you register a WSO2 AI Gateway, decide where it runs, which API Manager release you need and which guardrails to attach, then test them with a set of prompts. The gateway is now named Choreo AI Gateway (formerly WSO2 AI Gateway) after Choreo Labs, formerly WSO2, renamed on November 17, 2026. Checked November 24, 2026.
Install options
| Option | What it means | Fits |
|---|---|---|
| Inside API Manager (4.4 or later) | The AI gateway features arrive with the API Manager release you run. | Estates that already run API Manager |
| Gateway runtimes under AI Workspace | AI Workspace is the control plane. Since August 2026 it can run fully self-managed, including air-gapped. | Regulated estates with no outbound connection |
| Bijira (SaaS) | Hosted by the vendor. | Teams that do not need to run it themselves |
Register the gateway
Registration steps differ by release and by option, so read the documentation for your version. The decisions to make first are the same: which environment, which network zone, and who owns the keys to each model provider.
How do I create an AI API in API Manager?
The API Manager 4.6.0 getting-started guide uses the Publisher. The labels below come from that guide, so check them against your release.
- Log in to the Publisher.
- Click Create AI API.
- Choose the AI Service Provider and Version, then click Next. Built-in providers listed are Anthropic, AWS Bedrock, Azure AI Foundry, Azure OpenAI, Gemini, Mistral AI and OpenAI. Custom providers need separate setup.
- Enter the name, context and version, then click Create.
- Under API Configurations, open Endpoints. Edit the Default Production Endpoint, add the provider API key and click Update. Do the same for the Default Sandbox Endpoint.
- Deploy, test and publish the API as for any other API.
The guide leaves guardrails and rate limits for the next steps. It names AI backend security, rate limiting, multi-model routing, prompt management, AI guardrails and semantic caching as follow-on topics. Plan them as a second phase, not as part of the first deployment.
First provider and proxy
Add one model provider and one application proxy first. Set a token limit before you add guardrails, so cost has a ceiling. Then attach guardrails. The 4.7.0 documentation lists eleven, from content length and regex to PII masking with regex, semantic prompt, semantic tool filtering, Azure Content Safety and AWS Bedrock Guardrail.
Which guardrails are available?
The 4.7.0 documentation lists eleven guardrails. Use this table to decide which ones belong in your first release.
| Guardrail | What it does | Start here if |
|---|---|---|
| Content length | Limits the length of requests or responses | You need a cost ceiling per call |
| Word count and sentence count | Limit words or sentences in requests or responses | Responses must stay short |
| Regex | Validates requests or responses against your own patterns | You know the patterns to block |
| JSON schema | Checks that a request or response matches a schema | Agents expect structured output |
| URL | Validates URLs in responses, which can help catch invented links | Answers are shown to customers |
| PII masking with regex | Masks personal data using patterns you define | Prompts may carry card or account numbers |
| Semantic prompt | Allows or denies prompts by similarity to a list you set | You can name topics to allow or refuse |
| Semantic tool filtering | Ranks tools by relevance to the query | Agents see many tools |
| Azure Content Safety | Moderates requests or responses with that service | You already use it |
| AWS Bedrock Guardrail | Applies Bedrock Guardrails to the traffic | You already use it |
The overview page says guardrails sit between your application and the model provider and check both inputs and outputs. It does not describe the order the checks run in or what the caller sees on a block, so confirm both in your lab.
Checks
- A prompt over the length limit is rejected.
- A prompt with a card-number pattern is masked, and a free-text name is flagged by a second check.
- A call from an agent with no identity is refused.
- Every call, allowed or denied, appears in the log.
- Stopping the gateway stops the traffic, and nothing falls back to a direct model call.
A test prompt set
Keep the prompts in version control and run them after every policy change.
| Prompt | Expected result | Guardrail tested |
|---|---|---|
| A normal question in scope | Passes and is logged | None, baseline |
| A prompt far over the length limit | Rejected | Content length |
| A prompt with a test card-number pattern | Number masked before it reaches the model | PII masking with regex |
| A prompt on a topic you refuse | Denied | Semantic prompt |
| A response that should be a fixed JSON shape | Fails when the shape is wrong | JSON schema |
Questions we hear
Do we need the new name everywhere? Product pages and documentation now carry the Choreo names. Your running software does not change with the name, so rename documents and diagrams when you next touch them.
Can it run without a connection to the vendor? The install table above says AI Workspace can run fully self-managed, including air-gapped, since August 2026. Confirm the version and network design in a lab before you commit.
A first engagement
Duczer East offers an AI gateway fit check: we review where the gateway runs, the release it needs and the guardrails to attach, then test them with a prompt set and hand back a short written plan.



