Support
Log In
Models

Get compiled Malloy model

Retrieves a compiled Malloy model with its source information, queries, and metadata. The model is compiled using the specified version of the Malloy compiler. This endpoint provides access to the model's structure, sources, and named queries for use in applications.

GET/environments/{environmentName}/packages/{packageName}/models/{path}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

environmentName*string

Name of the environment

Match^[a-zA-Z0-9_-]+$
packageName*string

Name of the package

path*string

Path to the model within the package

Match^[a-zA-Z0-9_/.-]+$

Query Parameters

versionId?string

Version identifier for the package

Match^[a-zA-Z0-9_.-]+$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json