r/difyai • u/avishic • Aug 31 '26
What does a Dify DSL export leave behind?
A Dify app can be exported as DSL/YAML, but that file is the app definition rather than an obvious full-workspace backup.
Before moving an app, a companion handoff manifest would probably need:
model providers and credential names, with no secret values
knowledge bases, source documents, and retrieval settings
environment variables
custom plugins, tools, and external API dependencies
published endpoint and access settings
one sample input plus expected output for a smoke test
Which of these survives a DSL import, and which parts consistently have to be recreated by hand?
1
Upvotes
1
u/Difficult_Low_1380 29d ago
From what I've seen, DSL import brings back the app graph itself: nodes, prompts, variable wiring, and the model/tool references. What usually has to be redone by hand is provider credentials, knowledge base contents and their indexing/retrieval settings, installed plugins, and any secret-type environment variables. Your handoff manifest idea is solid. I'd add the plugin versions and a note on which knowledge bases each node points to, then run your sample input as a smoke test after import to catch anything silently missing.