Semaphor

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

MethodEndpointDescription
GETGet templateRetrieve the full domain template
PUTSave templateSave changes to a domain template
PATCHPatch templatePartially update a domain template
POSTPreview discoveryPreview AI-suggested relationships between datasets
POSTCommit to GitHubCommit the template to a connected GitHub repository

On this page