Docs
Export & Fine-tuning

Export & Fine-tuning

Langfuse is open-source and data tracked with Langfuse is open. You can export data via the public API or export it in the Langfuse UI.

The exported data can be used to train or fine-tune models on the production traces in Langfuse.

Public API

All data in Langfuse is available via the GET api. Refer to the API docs for more information.

Example routes

  • GET /api/public/traces
  • GET /api/public/traces/:traceId
  • GET /api/public/observations
  • GET /api/public/observations/:observationId

Export via UI

The generations table in Langfuse allows you to export generations. All filters applied to the table will be applied to the export.

Available export formats:

  • CSV
  • JSON
  • JSONL (OpenAI format for fine-tuning)

Download generations in Langfuse UI

Trouble exporting?

If you're having trouble exporting data, please let us know and we'll help you out.

Was this page useful?

Questions? We're here to help