IBM Cloud Docs
Controlling request logging for Watson services

Controlling request logging for Watson services

By default, most IBM Watson® services log requests and their results. Logging is done only to improve the services for future users. The logged data is not shared or made public.

The Language Translator and Tone Analyzer services do not log any request data. You cannot opt in to request logging at the request level or at the account level.

If you are concerned with protecting the privacy of users' personal information or otherwise do not want your requests to be used by IBM, you can choose not to have IBM learn from your data (opt out). Choose to opt out at either the account level or at the API request level.

  • To prevent IBM usage of your data for general service improvements for all services for which you are the owner, select Do not learn from my data on the Watson Privacy Settings page. To access the setting, you must be the account owner.
  • To prevent IBM usage of your data for an API request, set the X-Watson-Learning-Opt-Out header parameter to true.

A choice to opt out from logging data at either level overrides a choice to opt in.

You cannot opt in at the request level if you opt out at the account level. However, you can opt out at the request level if the account is set to opt in. If your intent is to opt out for a subset of your services, select Learn from my data at the account level. Then, set the request header to true to prevent usage of your data on those requests.

For more information about specific use, see the API reference for the Watson service.