list_flows
List recent network flows from a mitmweb session, newest first, with filters for time, URL, status, and content type. Static assets are excluded by default.
Instructions
List recent flows, newest first.
Static assets (js/css/images/fonts) are excluded by default — the equivalent of
mitmproxy's !~a filter, and the single biggest signal-to-noise win. Pass
include_assets=True when you actually want them.
Two parameters make the human's UI actions usable as input:
since_seconds: only flows from the last N seconds. If the user just clicked a button, since_seconds=15 isolates exactly what that click triggered.
marked_only: only flows the user has marked in the mitmweb UI.
url_contains matches the full URL including host and query string; content_type is a substring match against the response type, e.g. "json".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| limit | No | ||
| method | No | ||
| marked_only | No | ||
| status_code | No | ||
| content_type | No | ||
| url_contains | No | ||
| since_seconds | No | ||
| include_assets | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |