All guides

Export data from Langfuse

Export Langfuse observations and scores, validate the archive, and prepare examples for Lunary.

$20 per user / month. Payment required to activate your workspace.

Use a filtered UI export for a sample, or blob storage and programmatic access for larger archives.

Small sample

Export CSV or JSON from the filtered observability table.

Larger archive

Check blob-storage or programmatic routes for your deployment.

Moving to Lunary

Keep the archive and transform a copy into a dataset.

Export options

Export data from Langfuse: at a glance
Export concernValidation
FiltersSource and export use the same interval and environment
ColumnsInspect the file; UI column visibility does not redact it
RelationshipsObservation and parent identifiers remain usable
ScoresEach score stays attached to its intended object
DestinationInput, observed output, and expected behavior are mapped deliberately

1. Export a filtered sample

Set the project, time window, environment and tags, then export CSV or JSON from the relevant table. Hidden UI columns are still exported; inspect the file before sharing it.

  • Record filters and timezone.
  • Confirm the exported object type and schema.
  • Handle prompts, scores and datasets as distinct objects.

2. Choose a repeatable export route

For larger archives, check supported objects and destination settings for blob-storage or programmatic exports. Merge fixed intervals by stable record ID so retries do not duplicate records.

3. Reconcile the archive

Compare unique IDs, nested relationships and scores with the source. This manifest is an audit template, not executable export configuration; fill counts after verification and store file checksums separately.

Example
{
  "source": "langfuse",
  "project": "your-project",
  "startInclusive": "2026-09-01T00:00:00Z",
  "endExclusive": "2026-09-02T00:00:00Z",
  "filters": { "environment": "production" },
  "exportRoute": "ui-json",
  "exportedObjectType": "record-the-actual-type",
  "sourceCount": null,
  "uniqueExportedCount": null,
  "missingRelationships": null,
  "verifiedAt": null
}

4. Prepare selected examples for Lunary

Keep the raw files unchanged. Map inputs, observed outputs and approved expected answers to Lunary’s CSV/JSONL dataset format; this does not recreate native trace history.

  • Keep a row-to-source-ID map.
  • Verify imported counts and representative examples.
  • Check new instrumentation before retiring the old integration.

Questions & answers

Does hiding a Langfuse table column exclude it from export?

No. The official UI export documentation says custom column configuration does not change which columns are exported.

Can I import the file directly as Lunary trace history?

This guide does not claim that capability. Keep an archive, map selected examples for a dataset, and instrument new traffic as separate work.

Should I delete the source data immediately?

Keep it according to your retention policy until reconciliation and the planned migration acceptance checks are complete.

By Lunary · Documentation reviewed Sep 16, 2026

Sources & methodology (5)

Based on vendor documentation, not an independent benchmark or hands-on rating. Features and plans can change.

Build with Lunary.

Trace, evaluate, and improve your AI applications.

$20 per user / month. Payment required to activate your workspace.