Bulk import and export for prompts
Export prompt versions as JSON and import them in bulk.
You can now move versioned prompts between Langfuse projects using bulk JSON export and import. Use it to promote prompts across environments, create backups, or restore complete prompt histories without recreating versions manually.
To export prompts, open the Prompts page and click Export. Langfuse downloads a JSON file containing the selected prompts.
To import prompts, click Import and upload an exported file or a compatible JSON array. Each imported prompt is created as a new version, including when a prompt with the same name already exists. The latest and production labels are omitted during import to avoid changing deployments in the destination project. Once the import finishes, the dialog shows the result for each prompt.
Thanks to @rkdhanda for the contribution!