v5
latestOpenAPI 3.1.02026-08-025631,1012.8 MBNamespace Migrations
Create Migration
Create a new namespace migration.
This endpoint creates a migration and optionally validates it. Use start_immediately=True to begin execution immediately.
Args: request: FastAPI request create_request: Migration configuration
Returns: CreateMigrationResponse with migration ID and status
post/v1/namespaces/migrations/
Request body
Example request
{
"config": {
"feature_extractors": [
{
"feature_extractor_name": "openai_text_embedding",
"parameters": {
"model": "text-embedding-3-large"
},
"version": "v3"
}
],
"migration_type": "re_extract",
"source_namespace_id": "ns_abc123",
"target_namespace_name": "my_namespace_v2"
},
"start_immediately": false
}Response
Successful Response
Example response
{
"created_at": "2025-12-03T10:00:00Z",
"message": "Migration created successfully. Use POST /migrations/{id}/start to begin execution.",
"migration_id": "mig_abc123xyz789",
"status": "draft",
"validation_result": {
"errors": [],
"estimated_duration_seconds": 1800,
"estimated_resources": {
"cluster": 1,
"collection": 5,
"taxonomy": 2
},
"valid": true,
"warnings": []
}
}