Create Migration
Changed onCreate 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
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/namespaces/migrations/
- Auth: HTTP bearer
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": []
}
}Changes
- breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status
- breaking
- breaking
removed the success response with the status
- info
added the success response with the status
- breaking