Read a session's network calls
writ_browser_networkDiscover a live page's real backend API by searching its HTTP requests. Filter by query or method, or read one call in full by index.
Instructions
Search or read the requests the live page has made — how you find a site's real backend API instead of scraping its HTML. operation=search lists matching calls (filter with 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. Nothing captured yet? Run the capture_network action with writ_browser_act first — it reloads the page with capture armed; to catch a POST (login/search/submit), perform the action that triggers it, then capture. A call you want as a callable function goes straight into writ_browser_compose define_function via from_index=. 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). Page with offset. | |
| operation | No | search (default) | detail. list/get are aliases. | |
| session_id | Yes |