The Export/Import APIs enable configuration portability between environments. Export produces a JSON snapshot of all tenant entities; Import recreates them in the target tenant.Documentation Index
Fetch the complete documentation index at: https://docs.kaireonai.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/export/full
Export the full tenant configuration as a JSON file. Includes decision flows, categories, offers, channels, connectors, schemas, pipelines, models, experiments, rules, policies, guardrails, and segments. Rate limited to 10 requests/min. Admin only.Response
Returns a JSON file download withContent-Disposition: attachment.
DELETE /api/v1/export/full
GDPR customer data erasure. Deletes all interaction history, summaries, and variant assignments for a customer, invalidates cached data, and verifies complete removal. Admin only.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
customerId | string | Yes | Customer ID to erase |
Response
GET /api/v1/export/decision-flows/
Export a single decision flow as a JSON file. Editor or Admin.Response
GET /api/v1/export/models/
Export a single algorithm model (including all versions) as a JSON file. Editor or Admin.Response
POST /api/v1/import
Import configuration from an export file. All entities are created in a single transaction — if any fail, all changes roll back. Rate limited to 10 requests/min. Max payload: 10 MB. Editor or Admin.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
exportType | string | Yes | Type: decisionFlow, blueprint, model, or full |
version | number | No | Export format version |
data | object | Yes | The exported data payload |
Import Behavior
- Imported entities get a
-imported-suffix on their key to avoid conflicts - Names get
(imported)appended - All imported entities start in
draftstatus - Connector credentials (
authConfig) are cleared for security - Max 500 items per entity type in full imports