Data Privacy

Learn how to control data collection and protect sensitive information in AI agent monitoring.

By default, Sentry AI agent integrations respect your SDK's PII settings:

  • sendDefaultPii: false - Only metadata like model names, token counts, tool names, and execution times are collected
  • sendDefaultPii: true - Full inputs, outputs, prompts, and responses from AI models and tools are captured.

You can override this by configuring it on a function call level. For more details see Configuration.

If you wish to enable Data Scrubbing for any of these fields you can add them to Global Sensitive Fields in Security & Privacy settings or to Additional Sensitive Fields in Project settings under Security & Privacy.

Additional Sensitive Fields

Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").