Redact query and body parameters in the request
Sometimes you don't want the query and the body content to be logged-in PluginLab.
This is the case for example if you ask your user to send some private or secret data from ChatGPT.
For this usecase you can use the following response headers :
X-PluginLab-Redact-Body
X-PluginLab-Redact-Query
If once of this header is present in the response returned by your API, the body or the query parameter will not be saved by PluginLab respectively.
We don't look at the attached value of this header. No matter if you use X-PluginLab-Redact-Body: true or X-PluginLab-Redact-Body: false or even X-PluginLab-Redact-Body: Kevin is the most awesome guy I know. The presence of this header will force PluginLab not counting the request.
This is the case for example if you ask your user to send some private or secret data from ChatGPT.
For this usecase you can use the following response headers :
X-PluginLab-Redact-Body
X-PluginLab-Redact-Query
If once of this header is present in the response returned by your API, the body or the query parameter will not be saved by PluginLab respectively.
We don't look at the attached value of this header. No matter if you use X-PluginLab-Redact-Body: true or X-PluginLab-Redact-Body: false or even X-PluginLab-Redact-Body: Kevin is the most awesome guy I know. The presence of this header will force PluginLab not counting the request.
Updated on: 31/07/2023
Thank you!