Admin — Migration
Import a migration bundle
Receives an export bundle from atlas export and imports workspace data (conversations, semantic entities, learned patterns, settings) into the active organization. Idempotent — re-importing skips data that already exists.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:3001/api/v1/admin/migrate/import" \ -H "Content-Type: application/json" \ -d '{ "manifest": { "version": 0, "exportedAt": "string", "source": { "label": "string" }, "counts": { "conversations": 0, "messages": 0, "semanticEntities": 0, "learnedPatterns": 0, "settings": 0 } }, "conversations": [ null ], "semanticEntities": [ null ], "learnedPatterns": [ null ], "settings": [ null ] }'{
"conversations": {
"imported": 0,
"skipped": 0
},
"semanticEntities": {
"imported": 0,
"skipped": 0
},
"learnedPatterns": {
"imported": 0,
"skipped": 0
},
"settings": {
"imported": 0,
"skipped": 0
}
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}Edit on GitHub
Last updated on