Actions51
- Genie Actions
- Databricks SQL Actions
- Unity Catalog Actions
- Model Serving Actions
- Files Actions
- Vector Search Actions
- Jobs Actions
- Clusters Actions
Genie → Execute Message SQL Query
AI-generatedSummary
Execute a SQL query on a specified message attachment within a Genie conversation space on Databricks and retrieve the execution response.
Inputs
- Space ID (required) — The ID of the Genie space where the conversation exists.
- Conversation ID (required) — The ID of the conversation within the Genie space.
- Message ID (required) — The ID of the specific message in the conversation containing the attachment.
- Attachment ID (required) — The ID of the message attachment containing the SQL query to execute.
Output shape
a single record containing the execution result as JSON
The operation returns the JSON response from executing the SQL query on the specified message attachment. The output includes the query execution status and any results or metadata returned by the Databricks Genie API.
Examples
Example 1: Execute a SQL query from a message attachment in a Genie conversation
Provide valid Space ID, Conversation ID, Message ID, and Attachment ID to run the SQL query embedded in that attachment and obtain the execution response.