Did you ever get an answer to this?
# dev-help
t
Did you ever get an answer to this? > Would firing HostEvent.UpdateEmbedParams with { worksheetId: "auto_mode" } on EmbedEvent.SpotterLoadComplete (or ResetSpotterConversation) be a safe stopgap, or is that hidden API likely to bite us?
a
message has been deleted
t
I have the same issue and would appreciate some clarity if anyone from the TS team can chime in. Thank you!
s
Solution: Short answer: don’t rely on that as a “safe” stopgap. Based on current docs, two things are explicitly supported: 1.
worksheetId: "auto_mode"
is a valid way to enable Spotter Auto mode (as an embed config setting). 2.
HostEvent.ResetSpotterConversation
is a supported host event to reset a Spotter conversation. What I could not find in the official docs is a documented/guaranteed pattern saying you should fire
HostEvent.UpdateEmbedParams
with
{ worksheetId: "auto_mode" }
specifically on
EmbedEvent.SpotterLoadComplete
(or immediately after reset) as a stable contract. So yes—this is likely in “works now, might break later” territory unless TS confirms it. If you need stability, prefer: - Set
worksheetId: "auto_mode"
at Spotter embed initialization. - Use
HostEvent.ResetSpotterConversation
only for reset behavior. - Recreate/remount the embed with desired params when you must force a mode change deterministically. Suggestions: - If you must ship the workaround, gate it behind a feature flag and log failures/timeouts around trigger calls. - Pin SDK version while using this pattern, and test against each SDK/cluster upgrade. - Ask ThoughtSpot Support/PM for explicit confirmation on whether
UpdateEmbedParams
+ Spotter lifecycle events is a supported contract for Spotter mode switching. Docs: - Spotter Auto mode (
worksheetId: "auto_mode"
) in changelog: https://developers.thoughtspot.com/docs/embed-sdk-changelog#_version_1450_february_2026 - `HostEvent.ResetSpotterConversation`: https://developers.thoughtspot.com/docs/Enumeration_HostEvent#_resetspotterconversation - Host vs embed events overview: https://developers.thoughtspot.com/docs/style-customization__tutorial#_triggering_hidden_menu_items_with_hostevents
t
Can I get a human answer? SpotterCode isn't helping much unfortunately
m
@Tim I will take a look and confirm
I am raising a fix for this. Will get it to production soon
t
Thank you @Mourya Balabhadra
is there a ticket or something I can follow along for updates
m
we have an internal ticket for this.
t
@Mourya Balabhadra can you give me a ticket number or something I can send to my CSM to check up on