AMQL Docs
AML Reference

AML Reference

Syntax, types, and object definitions for the Analytics Modeling Language.

This is the reference for AML: the syntax, the types, the object-by-object details. Use it to look something up.

For concepts (what AML is for, design principles, reusability patterns, and how it fits with AQL), head to the AML Overview.

How this section is organized

AML is a declarative language for defining semantic models. The reference is grouped by object type and by language feature, mirroring the sidebar.

Core objects

The building blocks you'll define most often: models and their fields, datasets, and relationships.

Models and fields

Datasets

Language features

The constructs that make AML composable and reusable: types, functions, modules, and the tools for sharing logic across objects.

Quick start

If you're new to AML:

See also

  • AML Overview: conceptual introduction and design principles
  • AQL Reference: the query language that runs on top of AML models
  • Reusability: patterns for composing and reusing AML code

On this page