Skip to main content

Overview

Axon lets you export your intent configuration to a JSON file and import intents from a JSON file. Use import and export to move intents between environments (for example from a sandbox to production), share a curated intent set across organizations, or keep a backup of your custom intents.

Export intents

You can export all of your active intents or a selected subset.
1

Open Axon

Go to the Active intent tree tab.
2

Select intents (optional)

Tick the checkbox next to any intents you want to export. Leave everything unselected to export the full active tree.
3

Trigger the export

Use the export action in the toolbar. Axon downloads a file named intents-export-<YYYY-MM-DD>.json.
The exported file is human-readable JSON. Each entry contains the intent id, its user-facing name, category placement, sort order, and deprecation state.

Import intents

Import replays a JSON file into your Axon configuration. Each intent in the file is compared against your current tree and gets one of three statuses: new, overwrite, or skipped.
1

Open the import dialog

In Axon, open the import dialog from the toolbar on the Active intent tree tab.
2

Upload a JSON file

Drop a .json file into the dropzone, or click to browse. Only JSON files are accepted, and only one file per import.
3

Review the summary

Click Next. Axon validates the file and shows a summary grouped by status:
  • New — the intent id does not exist yet and will be created.
  • Overwrite — an intent with the same id already exists and will be replaced.
  • Skipped — the entry could not be imported (for example, missing intent_id or invalid values). The reason is shown next to the row.
If every row is skipped, the dialog offers a Go back button so you can fix the file and try again.
4

Confirm the import

Click Import to apply the changes. New intents appear in the tree, and overwritten intents pick up the values from the file.
Overwrite replaces the existing intent’s fields with the values from the file. Double-check the review step before confirming, especially when importing into production.

File format

The file must be a JSON array of intent objects. intent_id is mandatory — every other field is optional but recommended.
Field reference:
  • intent_id — unique identifier used to match against existing intents. Required.
  • frontend_name — the user-facing name shown in Workstation and Flow.
  • base_model_intent — the underlying model intent this entry maps to.
  • deprecation_status / deprecation_date — whether the intent is deprecated and, if so, from when.
  • intent_typestandard or custom.
  • sort_order — position within the tree.
  • custom_first_level / custom_second_level / custom_third_level — category, subcategory, and intent labels used to place the intent in your tree.
Export your current configuration first, then edit the JSON. That gives you a valid template with your own ids and category structure to work from.

What’s next