Server SDKs
Build AI agents, control calls, send messages, and more
Return the gather info configuration for this step, if any. This is an internal method on Step.
Step
None.
GatherInfo | null — The GatherInfo instance, or null if not configured.
GatherInfo | null
null
1import { ContextBuilder } from '@signalwire/sdk';23const builder = new ContextBuilder();4const ctx = builder.addContext('default');5const step = ctx.addStep('intake');6step.setText('Collect info.');7step.setGatherInfo({ outputKey: 'info' });89console.log(step.getGatherInfo()); // GatherInfo instance