set_workspace_profile, then call this. If a model already exists it’s left alone unless you pass force: true. If it reports no GTM context yet, record some first, then call again.
Parameters
Returns
When to call it
- After recording the GTM context with
set_workspace_profile, to create the scoring model. - With
force: truewhen the GTM context has changed and the model should be rebuilt.
Backed by
POST /v2/workspace/scoring-model — the agent setup surface. Shares its implementation with the web GTM Context page. Logged to the Ops page.