How to Export Full LLM Traces (Prompts, Outputs, Metadata) from W&B Weave traces?

Hi,
I’m currently logging my LLM traces using weave and I’m wondering if there’s a way to export the full trace of LLM interactions, including:

  • Prompts
  • Model responses / outputs
  • Intermediate steps (if using agents or chains)
  • Any metadata
  • Basically everything beyond just the token count snapshots

Is there a recommended way to export these traces programmatically or as files (e.g., JSON or CSV), either via the W&B UI or API?

This would be super useful for downstream analysis or sharing full conversational logs.

Would appreciate any guidance or examples. Thanks!