Documentation/Guides (Tracing)/Payload limits
1 min read

Payload limits

Large prompts, retrieved documents, and tool outputs can make traces slow to send and painful to inspect.

  • cap event string fields (e.g. 8–16KB)
  • cap arrays (e.g. top 20 items)
  • store raw blobs externally and attach references

What to store vs reference

Store inline:

  • ids, scores, short summaries
  • prompt template id/version
  • small JSON outputs

Reference externally:

  • full documents
  • long chat histories
  • large tool results (HTML, PDFs, big JSON)

Next steps