> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # getGatherInfo > Return the gather info for a step. [step]: /docs/server-sdks/reference/typescript/agents/context-builder/step Return the gather info configuration for this step, if any. This is an internal method on [`Step`][step]. ## **Parameters** None. ## **Returns** `GatherInfo | null` -- The GatherInfo instance, or `null` if not configured. ## **Example** ```typescript {9} import { ContextBuilder } from '@signalwire/sdk'; const builder = new ContextBuilder(); const ctx = builder.addContext('default'); const step = ctx.addStep('intake'); step.setText('Collect info.'); step.setGatherInfo({ outputKey: 'info' }); console.log(step.getGatherInfo()); // GatherInfo instance ``` > Return the gather info for a step.