Skip to main content
POST
Rank next-best products for a profile

Body

application/json
catalog
object[]
required

Candidate products to rank (1-2000).

profile_id
string

The profile the ranking is for (contact id or external CDP profile id) — used to bucket A/B experiments deterministically.

signals
object[]

The profile's purchase/browse/view signals (up to 5000).

traits
object

The profile's affinity traits: category_affinity / brand_affinity maps and preferred_tags.

limit
any

How many recommendations to return.

experiment
object

Optional A/B experiment: a key plus named variants, each with its own factor weights.

Response

Ranked recommendations with per-factor score breakdown and the applied weights.

Ranked recommendations with per-factor score breakdown and the applied weights.