Skip to main content
The createDomain mutation creates a new domain with a name and optional description.

Signature

This mutation can only be executed by an administrator or a data administrator of the specific domain ID.

Arguments

CreateDomainInput!
required
Input object containing domain creation parameters. See CreateDomainInput.

CreateDomainInput

String!
required
The name of the domain. Must be unique within your organization.
String
Optional description explaining the purpose and contents of the domain.
ID
The workspace ID in which to create the domain. Defaults to the current workspace if not specified.

Response

Returns a DomainModel object representing the newly created domain. See DomainModel for the schema.

Usage example

Create a domain for organizing sales-related data sources:

DomainModel Schema

Learn about domain structure and properties