Support
Log In
Data APINotebooks

Execute a specific notebook cell

Executes a specific cell in a Malloy notebook by index. For code cells, this compiles and runs the Malloy code, returning query results and any new sources defined. For markdown cells, this simply returns the cell content.

GET/environments/{environmentName}/packages/{packageName}/notebooks/{path}/cells/{cellIndex}

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 notebook within the package

cellIndex*integer

Index of the cell to execute (0-based)

Query Parameters

versionId?string

Version identifier for the package

Match^[a-zA-Z0-9_.-]+$
filter_params?string
Deprecated

DEPRECATED: Use givens (native Malloy runtime parameters) instead. Targets the deprecated #(filter) annotation path. A presentation filter migrates to a filter<string> given defaulting to f'', which matches every row until a caller supplies a value. Two roles must keep the annotation: #(filter, required) carries index partition metadata a given cannot express (migrating it returns zero rows with no error), and implicit filters are row-level security. That is why this field is deprecated rather than removed. See /docs/how-to/modeling/fine-grained-acls#parameterization for the migration shape.

JSON-encoded filter parameter values keyed by filter name.

bypass_filters?string
Deprecated

DEPRECATED: Use givens (native Malloy runtime parameters) instead. See /docs/how-to/modeling/fine-grained-acls#parameterization for the migration shape.

When true, skip filter injection entirely.

Value in

  • "true"
  • "false"
givens?string

JSON-encoded given values keyed by given name

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json