From ea612dbfdbc8ecbf2daa3804c782852fe1bb1865 Mon Sep 17 00:00:00 2001 From: "promptless[bot]" <179508745+promptless[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 18:44:50 +0000 Subject: [PATCH] Documentation updates from Promptless --- content/collections/browser_sdk/en/browser-sdk-2.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/collections/browser_sdk/en/browser-sdk-2.md b/content/collections/browser_sdk/en/browser-sdk-2.md index e05978df5..56b26b1ae 100644 --- a/content/collections/browser_sdk/en/browser-sdk-2.md +++ b/content/collections/browser_sdk/en/browser-sdk-2.md @@ -726,6 +726,8 @@ Set `config.autocapture.networkTracking` to a `NetworkTrackingOptions` to config | Name | Description | Default Value | | --- | --- | --- | | `hosts` | The hosts to capture. Supports wildcard characters `*`. eg. `["*"]` to match all hosts, `["*.example.com", "example.com"]` to match `example.com` and all subdomains. | `none` | +| `urls` | **Experimental.** URL patterns to allow for network capture. Supports string (exact match) or regular expressions (pattern match). For example, `["https://example.com/path", /path\/to/]` to match specific URLs or patterns. `urls` takes precedence over `hosts`. | `["*"]` (all URLs) | +| `methods` | **Experimental.** HTTP methods to allow for network capture. For example, `["GET", "POST"]` to capture only GET and POST requests, or `["*"]` to capture all methods. | `["*"]` (all methods) | | `statusCodeRange` | The status code range to capture. Supports comma-separated ranges or single status codes. For example, `"0,200-299,413,500-599"` | `"500-599"` | | `requestBody` | **Experimental.** Configuration for capturing request body JSON. Review [BodyCaptureRule](#bodycapturerule) for details. | `undefined` | | `responseBody` | **Experimental.** Configuration for capturing response body JSON. Review [BodyCaptureRule](#bodycapturerule) for details. | `undefined` | @@ -736,7 +738,7 @@ Set `config.autocapture.networkTracking` to a `NetworkTrackingOptions` to config | Name | Description | Default Value | | --- | --- | --- | -| `allowlist` | Array of JSON property names to capture from request/response bodies. Uses JSON Pointer syntax where leading `/` is optional. Supports wildcards: `*` matches any key, `**` matches any number of keys. Maintains the structure of the original JSON. | `[]` | +| `allowlist` | Array of JSON property names to capture from request/response bodies. Uses JSON Pointer syntax where leading `/` is optional. Supports wildcards:
- `*` matches any key
- `**` matches any number of keys.
Maintains the structure of the original JSON. | `[]` | | `blocklist` | Array of JSON property names to exclude from captured request/response bodies. This removes properties that the allowlist would otherwise capture. | `[]` | {{/partial:collapse}}