We’ve changed our name! API.AI is now Dialogflow. Learn more here.

Agents - Exported JSON Fields

When you export an agent from Dialogflow, the generated ZIP file will contain all of the JSON files related to the agent, including intents, User Says examples per language, and contexts per language.

Use the tabs below to explore the agent JSON fields for agents that utilize the V1 and V2 API.

V1 API

Name Type Description
language String Agent's language.
description String Optional agent description for the Agent demo page.
defaultTimezone String Corresponds to the default time zone set in the agent settings.
isPrivate Boolean true if the "Private" option is selected in the agent settings, false if the "Public" option is selected.
webhook Object
- url String Public URL to the web service connected to the agent via webhook.
- headers Object Optional headers.
- available Boolean true if webhook is enabled in the agent, false otherwise.
- useForDomains Boolean true if the "Enable webhook for all Domains" option is chosen in the webhook settings, false if the "Disable webhook for all Domains" option is chosen.
customClassifierMode String Corresponds to the Match mode from the ML Settings.
mlMinConfidence Number Corresponds to the ML Classification Threshold.

V2 API

Name Type Description
description String Optional agent description for the Agent demo page.
language String Agent's language.
disableInteractionLogs Boolean true if interaction logging is disabled, false if enabled.
defaultTimezone String Corresponds to the default time zone set in the agent settings.
webhook Object
- url String Public URL to the web service connected to the agent via webhook.
- headers Object Optional headers.
- available Boolean true if webhook is enabled in the agent, false otherwise.
- useForDomains Boolean true if the "Enable webhook for all Domains" option is chosen in the webhook settings, false if the "Disable webhook for all Domains" option is chosen.
isPrivate Boolean true if the "Private" option is selected in the agent settings, false if the "Public" option is selected.
customClassifierMode String Corresponds to the Match mode from the ML Settings.
mlMinConfidence Number Corresponds to the ML Classification Threshold.
supportedLanguages Strings List of root languages and locales the agent supports.
enableOnePlatformApi Boolean true if agent uses V2 API, false if agent uses V1 API.