---
title: "Discover API endpoints from captured network traffic"
method: POST
path: "/v1/browser/discover"
tags: ["Browser"]
---

# Discover API endpoints from captured network traffic

`POST /v1/browser/discover`

## Request

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

Analyzes captured network traffic to build an API map — endpoint patterns,
query params, request/response schemas, auth methods, rate limits, and timing.
Requires network capture to be enabled first (`POST /v1/browser/network/enable`).

## Request body

- object
  - `name` string: Name for this API map
  - `urlPatterns` string[]: URL patterns to filter (optional)
  - `include_headers` boolean
  - `include_bodies` boolean

## Response `200`

Discovered API map with endpoints

## Other responses

- `400`: No network traffic captured

---

[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)
