Read a session's network calls
writ_browser_networkSearches or reads the requests the live page has made: the site's real backend API, as opposed to its HTML. operation=search lists matching calls (filtered by query / method); operation=detail returns one call in full by index (method, url, request headers, request body, response body). Indices are stable for the session, so one from an earlier search still resolves later; only the oldest calls age out of the retained window, and asking for one of those says so rather than returning a different call. Calls come from the capture_network action of writ_browser_act, which reloads the page with capture armed; a POST (login/search/submit) is caught by performing the action that triggers it, then capturing. Any call's index feeds writ_browser_compose define_function as from_index=, turning it into a callable function. Held credential values are replaced with their placeholder in the output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | Which call to read, for operation=detail. | |
| query | No | Substring filter across method, url, status, and bodies. | |
| method | No | Filter by HTTP method. | |
| offset | No | ||
| max_chars | No | Window size, 1000-10000 (default 8000; larger values are clamped); offset pages it. | |
| operation | No | search (default) | detail. list/get are aliases. | |
| session_id | Yes |