System Model Definition Query

System Model Definition Query

Article Type: Reference Audience: Developers Module: Data Models

The System Model Definition is helpful in training your AI Models, building queries, and exposing your application ontology to visual graph tools.

1. Open the API Explorer

Navigate to the API Explorer:

API Explorer location in the Fuuz platform

2. Run the Query

Remove the boilerplate query and replace it with the query defined below.

Query editor showing the boilerplate to be replaced

Note: If you want ALL models, including system (platform) models, you must remove the dataModelDeploymentId: { _isNull: false } portion of the query. If you leave this in, it will only return models that have at least one deployment.

{
  modelDefinitions(
    where: {
      metadata: {
        mfgx: {
          dataModel: {
            dataModelDeploymentId: { _isNull: false }
          }
        }
      }
      _not: {
        _or: [
          { metadata: { mfgx: { isDataChangeModel: { _eq: true } } } }
          { name: { _endsWith: "_CustomFields" } }
        ]
      }
    }
  ) {
    name
    description
    fields {
      name
      type
      description
    }
  }
}

3. Review the Results

After executing the query, the Results panel will include the entire data graph of your Fuuz tenant.

Results panel showing the full data graph

Collapse at line #1 to export the results to another format (e.g., a text file).

Sample export: A sample export from one of our MES accelerator applications is available as an attachment on the original KB article. Download it from the original article linked above.

See Also

    • Related Articles

    • Fuuz Data Flow Nodes - Complete Reference

      Article Type: Reference Audience: Developers, App Admins, Solution Architects Module: Data Flows / Data Ops Applies to Versions: All 1. Overview The Fuuz Industrial Operations Platform provides a comprehensive visual flow designer with 50+ ...
    • Data Model (Schema) Design Standards

      Article Type: Standard / Reference Audience: Solution Architects, Application Designers, Developers Module: Fuuz Platform - Data Model Designer Applies to Versions: 2025.12+ 1. Overview Data Model (Schema) Design Standards define the mandatory ...
    • Data Flow Design Standards

      Article Type: Standard / Reference Audience: Solution Architects, Application Designers, Developers Module: Fuuz Platform - Data Flow Designer Applies to Versions: 2025.12+ 1. Overview Data Flow Design Standards define the mandatory requirements and ...
    • Aggregate Query API

      In addition to the standard GraphQL query API behavior, Fuuz also has support for aggregating data as part of a GraphQL query, streamlining the process of producing reports or visualizations using Fuuz data. The aggregation query feature centers ...
    • Setting TTL on a Data Model / Table

      Article Type: Reference Audience: Developers Module: Data Models In designing solid applications, it is best practice to consider the data you'll be storing in Fuuz, and determine with your business users how long that data should be retained. In ...