***

title: set_post_prompt_url
slug: /reference/python/agents/agent-base/set-post-prompt-url
description: Override the default URL where post-prompt summaries are delivered.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[ref-agentbase]: /docs/server-sdks/reference/python/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**

<ParamField path="url" type="str" required={true} toc={true}>
  The URL where post-prompt summaries should be POSTed.
</ParamField>

## **Returns**

[`AgentBase`][ref-agentbase] -- Returns self for method chaining.

## **Example**

```python {6}
from signalwire import AgentBase

agent = AgentBase(name="support", route="/support")
agent.set_prompt_text("You are a helpful customer support agent.")
agent.set_post_prompt("Summarize this call as JSON with intent and resolution.")
agent.set_post_prompt_url("https://analytics.example.com/call-summaries")
agent.serve()
```