Setup
- Define the business goal for the new surface (CTR, conversion, AOV, retention).
- Create a dedicated context in Console -> Contexts.
- Configure context-level defaults (quantity, filters, boosts).
Common workflows
Validate context behavior in staging
- Call
GET /recommendationswith the newcontext_idand representativeuser_idvalues. - Compare output quality with and without the context applied.
- Confirm the right item categories and constraints are reflected.
Roll out progressively
- Start with a small traffic segment.
- Keep context-specific instrumentation so results can be measured independently.
- Increase rollout percentage only after quality checks pass.
Keep context docs operational
For each context, maintain a short owner note with purpose, constraints, and KPI target so changes remain auditable.Example app journey: Checkout upsell launch
- Merchandising defines checkout upsell objectives.
- Team creates context
205with checkout-safe filters. - Backend requests recommendations using
context_id=205during checkout. - Events are tagged from checkout interactions and posted to
/events. - Analytics is filtered by the checkout context to evaluate lift.

