# Replay Monitor Scan

This endpoint allows you to programmatically initiate a replay for a specific SQL monitor.

<mark style="color:green;">`POST`</mark> `https://{telmai_endpoint}/api/data/{tenant}/assets/{asset_id}/batch_data/replay`

#### Request Body

The request supports the following parameters in the JSON body:

| Parameter    | Type      | Description                                         | Example |
| ------------ | --------- | --------------------------------------------------- | ------- |
| `monitor_id` | `Integer` | Unique ID of the SQL monitor to replay.             | `5225`  |
| `depth`      | `Integer` | Number of historical scans to replay (Range: 1–20). | `5`     |

**Example Request:**

```json
{
    "monitor_id": 5225,
    "depth": 5
}
```


---

# 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.telm.ai/telmai/api-reference/upload-data-api/replay-monitor-scan.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.
