> For the complete documentation index, see [llms.txt](https://docs.telm.ai/telmai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.telm.ai/telmai/api-reference/upload-data-api/replay-monitor-scan.md).

# 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
}
```
