Skip to main content
GET
/
projects
/
{projectName}
/
packages
/
{packageName}
/
models
/
{path}
{
  "resource": "<string>",
  "packageName": "<string>",
  "path": "<string>",
  "malloyVersion": "<string>",
  "modelInfo": "<string>",
  "sourceInfos": [
    "<string>"
  ],
  "queries": [
    {
      "name": "<string>",
      "sourceName": "<string>",
      "annotations": [
        "<string>"
      ]
    }
  ]
}

Path Parameters

projectName
string
required

Name of the project

packageName
string
required

Name of the package

path
string
required

Path to the model within the package

Query Parameters

versionId
string

Version identifier for the package

Response

Compiled Malloy model

Compiled Malloy model with sources, queries, and metadata

resource
string

Resource path to the model

packageName
string

Name of the package containing this model

path
string

Relative path to the model file within its package directory

malloyVersion
string

Version of the Malloy compiler used to generate the model data

modelInfo
string

JSON string containing model metadata and structure information

sourceInfos
string[]

Array of JSON strings containing source information for each data source

queries
object[]

Array of named queries defined in the model

I