> 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. # setPostPromptUrl > Override the default URL where post-prompt summaries are delivered. [ref-agentbase]: /docs/server-sdks/reference/typescript/agents/agent-base Override the default URL where post-prompt summaries are delivered. By default, summaries are sent to the agent's own `/post_prompt` endpoint. Use this method to redirect summaries to an external service. ## **Parameters** **`url`** `string` — required The URL where post-prompt summaries should be POSTed. --- ## **Returns** [`AgentBase`][ref-agentbase] -- Returns `this` for method chaining. ## **Example** ```typescript {6} import { AgentBase } from '@signalwire/sdk'; const agent = new AgentBase({ name: 'support', route: '/support' }); agent.setPromptText('You are a helpful customer support agent.'); agent.setPostPrompt('Summarize this call as JSON with intent and resolution.'); agent.setPostPromptUrl('https://analytics.example.com/call-summaries'); await agent.serve(); ``` > Override the default URL where post-prompt summaries are delivered.