curl --request POST \
--url https://api.mixpeek.com/v1/namespaces/migrations/validate \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"migration_type": "re_extract",
"source_namespace_id": "<string>",
"target_namespace_id": "<string>",
"target_namespace_name": "<string>",
"feature_extractors": [
{
"feature_extractor_name": "<string>",
"version": "<string>",
"parameters": {}
}
],
"filters": {
"collection_ids": [
"<string>"
],
"taxonomy_ids": [
"<string>"
],
"cluster_ids": [
"<string>"
],
"retriever_ids": [
"<string>"
],
"date_range": {},
"auto_include_dependencies": true
},
"batch_options": {
"batch_size": 100,
"max_workers": 10,
"retry_failed": true
},
"taxonomy_options": {
"preserve_taxonomy_ids": true,
"preserve_enrichment_fields": true,
"re_run_enrichment": false,
"migrate_reference_collections": true
},
"cluster_options": {
"preserve_cluster_ids": true,
"preserve_assignments": true,
"migrate_artifacts": true,
"preserve_centroids": true,
"recompute_clusters": false
},
"retriever_options": {
"preserve_retriever_ids": false,
"migrate_interactions": false,
"migrate_execution_history": false,
"validate_references": true
},
"preserve_resource_ids": false,
"dry_run": false,
"webhook_url": "<string>"
}
}
'{
"message": "Configuration is valid with 1 warning",
"validation_result": {
"errors": [],
"estimated_duration_seconds": 1800,
"estimated_resources": {
"collection": 5,
"taxonomy": 2
},
"valid": true,
"warnings": [
{
"error_code": "RE_EXTRACT_COST_WARNING",
"message": "RE_EXTRACT migration will reprocess all documents and incur processing costs",
"severity": "warning"
}
]
}
}Validate a migration configuration without creating it.
Use this endpoint to check if a migration configuration is valid before actually creating and running it.
Args: request: FastAPI request validate_request: Configuration to validate
Returns: ValidateMigrationResponse with validation results
curl --request POST \
--url https://api.mixpeek.com/v1/namespaces/migrations/validate \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"migration_type": "re_extract",
"source_namespace_id": "<string>",
"target_namespace_id": "<string>",
"target_namespace_name": "<string>",
"feature_extractors": [
{
"feature_extractor_name": "<string>",
"version": "<string>",
"parameters": {}
}
],
"filters": {
"collection_ids": [
"<string>"
],
"taxonomy_ids": [
"<string>"
],
"cluster_ids": [
"<string>"
],
"retriever_ids": [
"<string>"
],
"date_range": {},
"auto_include_dependencies": true
},
"batch_options": {
"batch_size": 100,
"max_workers": 10,
"retry_failed": true
},
"taxonomy_options": {
"preserve_taxonomy_ids": true,
"preserve_enrichment_fields": true,
"re_run_enrichment": false,
"migrate_reference_collections": true
},
"cluster_options": {
"preserve_cluster_ids": true,
"preserve_assignments": true,
"migrate_artifacts": true,
"preserve_centroids": true,
"recompute_clusters": false
},
"retriever_options": {
"preserve_retriever_ids": false,
"migrate_interactions": false,
"migrate_execution_history": false,
"validate_references": true
},
"preserve_resource_ids": false,
"dry_run": false,
"webhook_url": "<string>"
}
}
'{
"message": "Configuration is valid with 1 warning",
"validation_result": {
"errors": [],
"estimated_duration_seconds": 1800,
"estimated_resources": {
"collection": 5,
"taxonomy": 2
},
"valid": true,
"warnings": [
{
"error_code": "RE_EXTRACT_COST_WARNING",
"message": "RE_EXTRACT migration will reprocess all documents and incur processing costs",
"severity": "warning"
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
"Bearer YOUR_API_KEY"
"Bearer YOUR_STRIPE_API_KEY"
Request to validate a migration configuration without creating it.
Migration configuration
Show child attributes
Was this page helpful?