Read renderer network activity
get_network_requestsRetrieve captured CDP network events including requests, responses, and failures. Filter by URL, resource type, status, or lifecycle stage to inspect API calls and page load details.
Instructions
Returns captured CDP Network events (request / response / finished / failed). For a page load, multiple entries will share the same requestId — join them on that field to see the full request lifecycle. Default filter omits static assets so only XHR/fetch-style calls (e.g. API requests) surface; pass resourceType to override.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id. | |
| kind | No | Only this CDP lifecycle stage. | |
| limit | No | Cap result count (newest first). | |
| since | No | Only events with ts > this epoch-ms value. | |
| status | No | Only responses with this HTTP status. Implies kind=response. | |
| target | No | Only from this target. | |
| urlContains | No | Substring the URL must contain. E.g. try `/api/` to see only backend API calls. | |
| resourceType | No | Only events with this CDP `Network.ResourceType` (e.g. `XHR`, `Fetch`, `Document`). | |
| includeStatic | No | If true, keep static assets (Document/Stylesheet/Image/Font/Media/Script). Default false. |