Skip to main content
This page describes the schema for domain objects that organize related data sources.

DomainModel

ID!
required
Unique identifier for the domain.
Int!
required
Version number of the domain for change tracking.
String!
required
Human-readable name for the domain.
String
Optional description explaining the purpose and contents of the domain.
[DatabaseModel!]!
required
List of databases included in this domain. See DatabaseModel.
[String!]!
required
Domain-specific knowledge and context information.
String
Custom system instructions for AI interactions within this domain.
Int
Fiscal year start month (1-12) for financial calculations.
VizConfig!
required
Visualization configuration settings. See VizConfig.
CodegenConfig!
required
Code generation configuration settings. See CodegenConfig.

DatabaseModel

ID!
required
Unique identifier for the database.
Int!
required
Version number of the database for change tracking.
String!
required
Name of the database.
ID!
required
Identifier of the domain this database belongs to.
Connection
Connection details for accessing this database. See Connection.
Boolean!
required
Whether this database was created from user-uploaded CSV files.

Configuration Objects

VizConfig

Boolean!
required
Whether to always use compact number formatting in visualizations.
Boolean!
required
Whether to show the data panel by default in visualizations.

CodegenConfig

ChatThinkingEffort!
required
Level of thinking effort for AI code generation. See ChatThinkingEffort.

Enums

ChatThinkingEffort

The level of thinking effort for AI interactions. This parameter accepts the following values:

Additional Resources

Create Domain

Create new domains for organizing data sources

Connection Objects

Learn about connection schema and properties

JobStatus Schema

Understand job execution status tracking