---
title: "Replay a discovered API call"
method: POST
path: "/v1/browser/replay"
tags: ["Browser"]
---

# Replay a discovered API call

`POST /v1/browser/replay`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/browser/replay`
- Auth: HTTP bearer

Re-executes a previously discovered API endpoint, optionally with modified
parameters. Supports cautious (rate-limited), moderate, and aggressive modes.
Can replay via CDP (browser context with cookies) or native HTTP.

## Request body

- object
  - `endpoint_id` string, required: ID of the discovered endpoint to replay
  - `map_id` string: API map ID (optional if endpoint_id is globally unique)
  - `mode` 'cautious' | 'moderate' | 'aggressive': Rate limiting mode (default cautious)
  - `params` object: Override query parameters
  - `body` unknown
  - `headers` object: Override headers
  - `transport` 'cdp' | 'native': Replay transport (default cdp)

## Response `200`

Replay result with status, headers, body, and timing

## Other responses

- `404`: Resource not found
- `429`: Too many concurrent requests

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
