Skip to content

ContextBag

The personalization context: flat, org-defined scalar/string-list properties. locale is reserved, but the server always overwrites it with the request’s own ?locale=, so the SDK never sets it. Audiences are not in the context: they come from the signed audience token (audience option of createContentClient), and a request that sends audiences here is refused with 400 audiences_not_in_ctx.

[property: string]: BagPropertyValue | undefined