Sentry Vercel AI integration records inputs and outputs by default
Sentry's Vercel AI integration records inputs and outputs by default when genAI collection is on. Check what Sume tool calls and results put in spans.

If your app calls Sume through the Vercel AI SDK and you use Sentry, the telemetry may include more than you expect. The Sentry Vercel AI integration page says recordInputs and recordOutputs default to true when dataCollection.genAI is enabled, and that it is enabled by default, read 2026-10-03. It also says not to combine the integration with the AI SDK v7 registerTelemetry API.
What ends up in a span
For a Sume workflow, the inputs and outputs are the model messages and tool calls. A create call carries a prompt, an idempotency_key and options such as max_spend_usd. A result carries job state and asset URLs. The Sume jobs guide describes status and result envelopes; whatever is in them can be recorded.
| Setting | Default | Decision for Sume tools |
|---|---|---|
recordInputs | true with genAI collection on | Prompts and brand copy are recorded unless you turn it off |
recordOutputs | true with genAI collection on | Result URLs and job envelopes are recorded |
dataCollection.genAI | Enabled | Turn off, or scope it, if prompts are sensitive |
registerTelemetry (AI SDK v7) | Do not combine | Pick one telemetry path |
What not to rely on
The Sentry page does not say how long spans are retained or who can read them in your project; check your Sentry settings. Do not assume that a credential is safe because it is in a header: a client that logs request options could capture one. Keep keys in the transport configuration and out of prompts and tool arguments.
Turning it down
If you leave recording on, treat the trace store as a copy of your prompts and treat access to it accordingly.
- Set
recordInputsandrecordOutputsto false for flows that handle unreleased creative or customer data. - Keep job ids and status in your own logs, which is enough to debug a stuck job through
jobs_result. - Remember that an idempotency key is not a secret, but it identifies a paid action.
- Review the integration after every AI SDK major upgrade, since the page warns about v7 telemetry.
Sources
Related posts
More in Developers
- Shopper leaves mid try-on: cancel the Format run, mind the gap
Cancel a Sume Format run with POST /v1/format-runs/{id}/cancel when a shopper leaves a try-on. Canceled runs send no webhook, and finished work is billed.
- Short ends before the voice: timeline_gap_filled and last-frame hold
When Timeline clips cover less than the audio, you get a held last frame and a warning, not an error. The two codes, and how to fix them before upload.
- Sora video ids in your database after the shutdown: what to keep
OpenAI's Videos API shut down 2026-09-24. Old video_ids no longer resolve, so store your own file URL and the model used. Schema fields included.
- Keep a source log for Shorts cut from long video: CSV from video trim
A source log shows which long video, timestamp and edit produced each Short. Build one from video trim results using actual_start_seconds.
Written by Sume