Searching request bodies
Find requests by what is inside their request and response bodies - fast full-text search with words and prefixes, and regular expression search with progress - in the app and over MCP.
You can search the bodies of recorded requests, both the request body and the response body. There are two modes. Both combine with all filters, such as the time range, host or status.
Text search
Text search is a full-text search. It is fast, because bodies are indexed when they arrive.
- Search for words:
payment_intentfinds bodies that contain that word. - Search for a prefix with
*:ord_58*. - Binary bodies are not indexed.
- Only the first 256 KB of each body is indexed. Text that appears later in a very large body is found with regex search instead.
Regex search
Regex search matches a regular expression against the bodies of the filtered requests. Use it for patterns: upstream_(timeout|reset), "code":\s*"E\d+".
- It scans the requests that match your filters. Narrow the time range or add filters for faster results.
- If the expression contains literal words, the candidates are first narrowed with the text index, so the scan is much smaller.
- The search runs separately from recording: it never delays ingest.
- Progress is shown while it runs: how many requests were scanned, how many remained after narrowing by the index, and how many matches were found (“Scanned 1,284,019 · narrowed by index to 18,402 · 37 matches · 1.9 s”).
- A search is limited by the time range, a result limit and a time budget. Closing the page cancels the search.
In the app
Use the search box in the top bar. The Aa and .* buttons switch between text and regex mode. The result view lists the matching requests with the matching part highlighted; choosing a result opens that request’s response. Back to live list returns to the normal list.
With MCP
The search_bodies tool searches the same way. It returns the matching request ids with a short snippet around each match; the match is wrapped in << and >>. See search_bodies. To search inside one known body, use read_body with grep.