Simulator
Enable the recommendations Simulator for a project and preview the recommendations it returns.
Read the Simulator enablement status
https://lytics-api.contentstack.com/projects/{id}/simulator/configundefined
Simulator config
Idempotently enable the Simulator — sets only the unsatisfied settings, and appends the given domains to the account's public allowlist
https://lytics-api.contentstack.com/projects/{id}/simulator/enableundefined
{
"domains": [
"www.example.com"
]
}Simulator config, now enabled
List the content collections available to the project
https://lytics-api.contentstack.com/projects/{id}/simulator/collectionsundefined
Available collections
Preview recommendations for a collection, optionally scoped to an identity — called server-side through the CDP proxy so no Lytics token is ever exposed to the browser
https://lytics-api.contentstack.com/projects/{id}/simulator/runundefined
Recommendation items, passed through from Lytics untouched
Whether the account can recommend yet: ready, not_ready (no content-affinity model, or nothing to recommend, yet) or unknown. Cached per account.
https://lytics-api.contentstack.com/projects/{id}/simulator/readinessundefined
Recommendation readiness