Support
Log In
Models

Execute Malloy query

Executes a Malloy query against a model and returns the results. The query can be specified as a raw Malloy query string or by referencing a named query within the model. This endpoint supports both ad-hoc queries and predefined model queries, making it flexible for various use cases including data exploration, reporting, and application integration.

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

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

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

Path to the model within the package

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

Request Body

application/json

Request body for executing a Malloy query

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json