Domain Templates
Read and update the full definition of a semantic domain
Domain templates contain the full definition of a semantic domain — its datasets, field classifications, relationships between datasets, and calculated metrics and dimensions.
Recommended workflow: Read the current template, preview AI relationship suggestions (optional), save your changes, then commit to GitHub (optional). Save and commit are independent — a commit failure does not affect the saved template.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | Get template | Retrieve the full domain template |
| PUT | Save template | Save changes to a domain template |
| PATCH | Patch template | Partially update a domain template |
| POST | Preview discovery | Preview AI-suggested relationships between datasets |
| POST | Commit to GitHub | Commit the template to a connected GitHub repository |