Skip to content
Discussion options

You must be logged in to vote

Langfuse provides a Python-based migration guide for moving data between projects or environments(1).

Migrating Project Data

You can migrate traces, observations, scores, prompts, and datasets using the Langfuse Public API and Python SDK(1). The migration cookbook provides code to:

  • Fetch data from the source Langfuse instance using API endpoints
  • Recreate that data in the destination instance using the ingestion API(1)

The migration preserves original trace IDs to maintain data integrity(1).

User Migration

For user and organization setup in the destination environment, you can use headless initialization. This automates resource creation on startup using environment variables(2)(3).

Set …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jannikmaierhoefer
Comment options

Answer selected by guptagaurav89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants