Snowflake · Schema

SendMessageRequest

The request object for sendMessage requests

DataData WarehouseData LakehouseCloud Data PlatformAnalyticsArtificial IntelligenceData EngineeringData GovernanceSQLApache IcebergModel Context ProtocolT1

Properties

Name Type Description
semantic_model_file string The path to a file stored in a Snowflake Stage holding the semantic model yaml. Must be a fully qualified stage url
semantic_model string A string containing the entire semantic model yaml
semantic_view string The name of the Snowflake native semantic model object
semantic_models array A list of semantic model objects. If set, other semantic model properties are ignored
stream boolean Whether to stream the response or not
operation string Whether to response with SQL or natural language. One of 'sql_generation' or 'answer_generation'
warehouse string Warehouse name to use for result set handling. Only used when 'operation' is 'answer_generation'
messages array
source string an optional field to specify the source of the request. e.g "eval", "prod"
experimental string JSON serialized string of experimental API fields (undocumented).
View JSON Schema on GitHub

JSON Schema

cortex-analyst-send-message-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SendMessageRequest",
  "type": "object",
  "description": "The request object for sendMessage requests",
  "properties": {
    "semantic_model_file": {
      "type": "string",
      "description": "The path to a file stored in a Snowflake Stage holding the semantic model yaml. Must be a fully qualified stage url"
    },
    "semantic_model": {
      "type": "string",
      "description": "A string containing the entire semantic model yaml"
    },
    "semantic_view": {
      "type": "string",
      "description": "The name of the Snowflake native semantic model object"
    },
    "semantic_models": {
      "type": "array",
      "description": "A list of semantic model objects. If set, other semantic model properties are ignored"
    },
    "stream": {
      "type": "boolean",
      "description": "Whether to stream the response or not"
    },
    "operation": {
      "type": "string",
      "description": "Whether to response with SQL or natural language. One of 'sql_generation' or 'answer_generation'"
    },
    "warehouse": {
      "type": "string",
      "description": "Warehouse name to use for result set handling. Only used when 'operation' is 'answer_generation'"
    },
    "messages": {
      "type": "array"
    },
    "source": {
      "type": "string",
      "description": "an optional field to specify the source of the request. e.g \"eval\", \"prod\""
    },
    "experimental": {
      "type": "string",
      "description": "JSON serialized string of experimental API fields (undocumented)."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cortex-analyst-send-message-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.