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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Name of the project Standard identifier pattern for resource names
^[a-zA-Z0-9_-]+$Name of the package
Path to the model within the package (used to resolve relative imports) Path pattern supporting slashes, dots, and dashes
^[a-zA-Z0-9_/.-]+$Compilation result with status and any problems
Result of a Malloy source compilation check
Overall compilation status — "error" if any problems have error severity
success, error List of compilation problems (errors and warnings)
Generated SQL for the compiled query. Only present when includeSql is true and compilation succeeds with a runnable query.