generate_dbt_artifacts
Generate a dbt project and semantic layer from an approved mapping. Verifies the approval_id belongs to the run and matches the current mapping content before building artifacts.
Instructions
Generate the dbt project and semantic layer from the reviewed mapping.
Requires `approval_id` from submit_mapping_review; the server verifies it exists, is not revoked
or expired, belongs to this run, and is bound to the current mapping content (no boolean flags).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| approval_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| models | Yes | ||
| run_id | Yes | ||
| status | Yes | ||
| resource_uri | Yes | ||
| manifest_hash | Yes | ||
| not_generated | Yes | ||
| generated_metrics | Yes |