Submit a task to automatically generate semantic models using AI.
Required Role: nx1_semantic_modeller or nx1_semantic_admin
The domain_urn in the request specifies which DataHub domain to scan. The AI will only analyze datasets within that domain.
Use GET /semantic-models/tasks/ to check progress.
The access token received from the authorization server in the OAuth 2.0 flow.
Request to generate semantic models using AI.
Domain name (e.g., 'Finance'). Either domain_name or domain_urn is required.
Domain URN (e.g., 'urn:li:domain:Finance'). Either domain_name or domain_urn is required.
Optional description of what kind of models to generate
Specific tables to include (default: all in domain)
Tables to exclude from generation
Target Trino catalog for views
Target schema (default: domain name)
Automatically submit generated models for review
Generation task submitted
Response for a generation task submission.
Internal task ID
Celery task ID (empty if synchronous)
Number of models generated (if completed)
IDs of generated models (if completed)