Documentation Index Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Back to API List
Export environment and locale (content) variables from a bot. The endpoint retrieves all configured variables, including their values, types, scopes, and namespace associations.
Field Value Method POST Endpoint https://{{host}}/api/{{version}}/public/builder/bot/{{botId}}/variables/exportContent Type application/jsonAuthorization auth: {{JWT}} See How to generate the JWT Token .API Scope App Builder: Export Variables; Admin Console: Not Applicable
Path Parameters
Parameter Required Description hostRequired Environment URL, for example: https://platform.kore.ai. botId/streamIdRequired App ID or Bot ID. Access it via App Settings → App Profile . versionRequired API version, for example: 1.1.
Sample Request
curl --location --request POST 'https://{{host}}/api/1.1/public/builder/bot/{{botId}}/variables/export' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}'
Sample Response
[
{
"key" : "host_url" ,
"value" : "https://{{host}}/nodeutil/mocks/getTime?timeZone=America/Chicago" ,
"hint" : "" ,
"variableType" : "env" ,
"scope" : "prePopulated" ,
"group" : "" ,
"propagateValue" : false ,
"vNameSpace" : [
{
"name" : "namespace1" ,
"refId" : "7eb3cfb6-0885-5c0b-be3d-00de695xxxxx"
}
],
"isSecured" : false
},
{
"key" : "DAI_DF_INVALID_PHONE_NUMBER_DURING_DEFLECTION" ,
"audioTag" : "" ,
"variableType" : "locale" ,
"scope" : "prePopulated" ,
"localeData" : {
"en" : {
"audioTag" : "" ,
"hint" : "" ,
"value" : "The Number you entered #Phone Number# is invalid. Please Enter a Valid Phone Number with the Country Code."
}
},
"group" : "" ,
"propagateValue" : false ,
"isSecured" : false
}
]
Response Parameters
Returns an array of variable objects. Each object contains the following fields:
Parameter Type Description keystring The unique name of the variable. valuestring The value assigned to the variable. hintstring Optional description or hint text. variableTypestring Type of variable: env for environment, locale for content. scopestring Scope of the variable, for example prePopulated. groupstring Optional group name for organizing related variables. propagateValueboolean Whether the variable value should be propagated. vNameSpacearray Namespace objects where this variable is available. vNameSpace[].namestring Name of the namespace. vNameSpace[].refIdstring Reference ID of the namespace. isSecuredboolean Whether the variable contains sensitive or encrypted data. audioTagstring Audio tag associated with the variable (primarily for locale variables). localeDataobject Locale-specific values; present only when variableType is locale. localeData.localeCodestring Locale identifier, for example en, fr, ja. localeData.localeCode.audioTagstring Audio tag for text-to-speech use cases. localeData.localeCode.hintstring Optional hint for the localized value. localeData.localeCode.valuestring Localized message or text for the locale.