requests_stop_monitoring
Stop one active monitor immediately and return its capture totals; captured records remain available for review.
Instructions
Stop one monitor immediately and return its capture totals.
Use the monitor_id returned by requests_start_monitoring when no more traffic needs capturing. drain_timeout is ignored: this does not wait for in-flight requests. Already captured records remain available to requests_list_captured and requests_get_content until the profile disconnects. An unknown monitor_id fails with MONITOR_NOT_FOUND.
profile_id is required: obtain it from profiles_list. All object IDs are local to that profile; never reuse them in another profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monitor_id | Yes | ID of the monitoring session to stop | |
| profile_id | Yes | ||
| drain_timeout | No | Accepted and ignored; the monitor stops at once |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |