How It Works
1
First Request
Send the initial messages with an White Circle stores these messages associated with
external_session_id:conversation-123.2
Subsequent Requests
For new messages, send only the new content with White Circle automatically prepends the previous messages before analyzing.
include_context: true:3
White Circle Sees the Full Context
When analyzing the second request, White Circle evaluates this combined content:
Only the last message in the combined array is checked for policy violations and metrics. The previous messages provide context for the evaluation but are not themselves checked.
Requirements
Default Behavior
When to Use Context Merging
Real-time moderation
Real-time moderation
As new content is generated, send each new exchange with
include_context: true. White Circle maintains the full context for accurate policy evaluation.This is especially important for detecting:- Multi-turn jailbreak attempts where users gradually push boundaries
- Context-dependent violations that only make sense with history
- Patterns of behavior across the session
Reducing payload size
Reducing payload size
For long sessions, sending the full history every time can be expensive and slow. With context merging:
- You send only new messages
- Requests are smaller and faster
- White Circle handles the history
Disabling Context Merging
If you want to check messages in isolation (without previous context), explicitly setinclude_context: false:
Comparison: With and Without Context Merging
- With Context Merging
- Without Context Merging
Request 1:Request 2:✅ White Circle analyzes all 4 messages together
