Skip to main content
GET
/
projects
/
{projectName}
/
packages
/
{packageName}
/
queryResults
/
{path}
{
  "result": "<string>",
  "resource": "<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

query
string

Query string to execute on the model. If the query parameter is set, the queryName parameter must be empty.

sourceName
string

Name of the source in the model to use for queryName, search, and topValue requests.

queryName
string

Name of a query to execute on a source in the model. Requires the sourceName parameter is set. If the queryName parameter is set, the query parameter must be empty.

versionId
string

Version ID

Response

Query execution results

Results from executing a Malloy query

result
string

JSON string containing the query results, metadata, and execution information

resource
string

Resource path to the query result

I