Intercept ChatGPT traffic
To intercept ChatGPT traffic, you first need to make sure that MitmProxy is configured to work with snitch. Assuming that your proxy and the certificates are all set up, the first thing you need to do is configure the PAC file and ensure that it is rerouting traffic from openai (or whatever URL ChatGPT is running on).
Browsing to (URL where snitch is running)/pac
will display the PAC file that your proxy is using. Make sure it contains a PROXY clause for *.openai.com
and chatgpt.com
After those steps are complete, you should be able to see chatgpt traffic under the monitoring tab, and the specific queries under "Traffic" (at the bottom of the Monitoring/ChatGPT page)