# Replay with the UI

## Replaying Requests

1. After recording a Request, click on the Request which will open up this side window:

<figure><img src="/files/m4z3ofj9un1xs07WHtuy" alt=""><figcaption><p>The Replay button is highlighted</p></figcaption></figure>

{% hint style="info" %}
By default, replaying a request will only append to the Replay History and will not modify the original request.
{% endhint %}

2. Click on the "REPLAY" button and `stoobly-agent` will resend the request with all the data originally sent such as headers, bodies, query parameters, etc.
3. After the request gets sent, a response will be returned. The page will switch to the [Replay History](/core-concepts/mock-api/requests/replay-history.md) tab and show the replayed instances of the request:

<figure><img src="/files/TdgQsWKeIMdYWZ73wLYx" alt=""><figcaption><p>The most recent HTTP request is highlighted</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stoobly.com/guides/how-to-replay-requests/replay-with-the-ui.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
