Skip to main content
GET
Export environment

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Query Parameters

projectID
string
required

The ID of the project to operate on.

Response

200 - application/json

Returns the whole environment as one JSON document: its project and version records, every workflow, agent, tool, function, variable and knowledge base document version, and its secrets. Most sections appear only when the environment has something of that kind.

project
object
required
version
object
required
diagrams
object
required
secrets
object[]
_version
string
programs
object
assistant
object | null
variableStates
object[]
transcriptEvaluations
object[]
intents
object[]
utterances
object[]
requiredEntities
object[]
responses
object[]
responseMessages
object[]
responseDiscriminators
object[]
functions
object[]
functionPaths
object[]
functionVariables
object[]
flows
object[]
agents
object[]
agentAPITools
object[]
agentFlowTools
object[]
agentPathTools
object[]
agentFunctionTools
object[]
agentIntegrationTools
object[]
agentFlowToolVariables
object[]
agentPathToolVariables
object[]
agentMcpIntegrationTools
object[]
events
object[]
entities
object[]
entityVariants
object[]
folders
object[]
prompts
object[]
promptMessages
object[]
apiTools
object[]
apiToolInputVariables
object[]
simulations
object[]
simulationTurns
object[]
simulationTurnTests
object[]
variables
object[]
workflows
object[]
attachments
object[]
cardButtons
object[]
integrationTools
object[]
mcpIntegrationTools
object[]
mcpServers
object[]
mcpServerTools
object[]
personas
object[]
kbDocumentVersions
object[]
kbSettings
object | null
kbDocumentMetadataM2M
object[]