Cortex Analyst

snowflake.cortex_analyst
ActionDatabases & warehousesconnection required

Calls the Snowflake REST / SQL API with the connection's bearer token.

Ask Cortex Analyst a question against a semantic model.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Snowflake
Secret shape
the token, or {"token": "…"}
Config it needs
account, warehouse, database, schema, role, token_type
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
message
Natural-language question.
stringYes———
semantic_model_file
@stage path to the semantic model YAML.
stringNo———
semantic_view
Fully-qualified semantic view name.
stringNo———
  • At least one of semantic_model_file, semantic_view must be set.

Output

One shape.

result

The provider's response object, as returned.

Extra keys beyond the ones listed can appear.

{}

See Cortex Analyst run in a workflow.

In a technical demo we add the Snowflake connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.