Skip to main content
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.

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.
Connector authConfig (credentials) is deliberately excluded from exports for security.

Response

Returns a JSON file download with Content-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

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

Import Behavior

  • Imported entities get a -imported- suffix on their key to avoid conflicts
  • Names get (imported) appended
  • All imported entities start in draft status
  • Connector credentials (authConfig) are cleared for security
  • Max 500 items per entity type in full imports

Example

Response