Quick Start
Create a Policy
At the core of White Circle are Policies — written descriptions of the rules you want your content to follow.Open the Policy list page and create a new one. Give the policy a name, flagged content, and allowed content. These fields define what exactly the Policy matches.
Once you’ve filled in the details, save the Policy.
Example: Online Pharmacy Policy
Example: Online Pharmacy Policy
You run an online pharmacy and want to prevent your chatbot from giving medical advice while still allowing questions about product availability.In this case:
- Flagged content: “Providing medical advice”
- Allowed content: “Answering questions about the availability of medicines in the store”
Learn more about Policies
Understand how Policies work and best practices for defining them.
Create an Environment
An Environment isolates sessions across different deployments of your application, such as development, staging, and production.
To create an Environment, open the Environments page, click Add Environment, and select the Conditions to attach.
Typical Environments
Typical Environments
- Development – Test new Policies while building your application.
- Staging – Validate Policy changes against pre-production traffic.
- Production – Evaluate live user traffic using your approved Policies.
Learn more about Environments
See how to organize your system into Environments for different use cases.
Create a Condition
A Condition determines which Policies and Metrics evaluate each Event by matching that Event’s metadata.Open the Conditions page and create a Condition for your Environment. Attach a Policy you created above. For this quick start, use a filter that matches
environment equal to quickstart.Learn more about Conditions
Learn how Conditions match Events to Policies and Metrics.
Create an API Key
Go to your API Keys page and generate a new key.Your API key will have the prefix
wceu- or wcus- depending on the region you’re in.Send Your First Request
You’re ready to make your first API call! Use the examples below to evaluate a message against your Policies.The response will tell you if any Policy violations were detected:
Example Response
Next Steps
Policies
Learn how to define text and image Policies for your application.
Conditions
Route each Event to Policies by matching its metadata.
Metrics
Build product analytics for AI applications using natural language.
Environments
Separate sessions across your Environments.
Striking Quick Tour
Learn how White Circle turns Policy violations into user-level actions.
Events API
Learn how to check messages, tool calls, agent state, and artifacts.
