Support
Log In
Models

Compile Malloy source code

Compiles Malloy source code in the context of a specific model file. The submitted source is appended to the full model content, giving it access to all sources, imports, and queries defined in the model. Relative imports resolve correctly against sibling model files. Returns compilation status and any problems (errors or warnings) found.

POST/environments/{environmentName}/packages/{packageName}/models/{path}/compile

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 (used to resolve relative imports)

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

Request Body

application/json

Request body for compiling Malloy source code

Response Body

application/json

application/json

application/json

application/json

application/json