mock_discover_variants
Analyze captured API traffic to identify request variants by method, host, path, and body field, enabling targeted mock creation for Charles Proxy sessions.
Instructions
Overview of the whole captured session: API requests grouped by method, host, path and the value of a request-body field (default /action; "null" for GETs and bodies without it), with counts, sample entry_ids and response statuses. Use it right after reading a session so the user can name what to change. Filter with host_contains / path_contains / methods. live needs capture_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| source | Yes | ||
| methods | No | ||
| body_field | No | /action | |
| capture_id | No | ||
| max_groups | No | ||
| host_contains | No | ||
| path_contains | No | ||
| recording_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | No | ||
| scanned | Yes | ||
| warnings | No | ||
| body_field | Yes | ||
| total_groups | No | ||
| host_contains | No | ||
| path_contains | No | ||
| recording_path | No |