v5

latestOpenAPI 3.1.02026-08-025631,1012.8 MB
Namespace Migrations

Validate Migration

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

post/v1/namespaces/migrations/validate

Request body

Response

Successful Response

messagestring required

Human-readable message

Example response

{
  "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"
      }
    ]
  }
}