Get started with context data

Last update: 2025-02-24
  • Created for:
  • Experienced
    Developer

Data sent as part of the decisioning request is considered as context data. You can leverage context data in the decisioning engine, for example to design a decision rule that requires the current weather to be ≥80 degrees at the time the decision request is made.

Context data is defined differently between Decisioning and Edge Decisioning API requests. For both types of requests, context data can be used in eligibility rules or in ranking formulas, but only Edge Decisioning API requests can use context data to personalize content.

Before starting, check the following guardrails & limitations:

  • Because of different way of passing context between Decisioning and Edge Decisioning calls, context-based eligibility rules and ranking formulas are not interchangeable between Decisioning and Edge Decisioning calls.
  • Testing with the dryrun parameter is possible with the Decisioning API only. It is not available with the Edge Decisioning API. Note that setting this parameter to true with the Decisioning API does not impact caps and the number of propositions.

Detailed information on how to use context data in each API, refer to these sections:

On this page