Databricks icon

Databricks

Interact with Databricks API

Genie → Get Query Results

AI-generated

Summary

Retrieve the results of a previously executed SQL query attachment in a Databricks Genie conversation message.

Inputs

  • Space ID (required) — The ID of the Genie space containing the conversation.
  • Conversation ID (required) — The ID of the conversation in the Genie space.
  • Message ID (required) — The ID of the message containing the query attachment.
  • Attachment ID (required) — The ID of the message attachment representing the SQL query.

Output shape

a single JSON object with the query results as returned by the Databricks Genie API

This operation performs a GET request to the endpoint for fetching the query result of a specified message attachment. The output JSON structure corresponds exactly to the API's response for the query result, with no additional transformation or pagination.

Examples

Example 1: Retrieve query results from a Genie message attachment

Specify the Space ID where the conversation is, the Conversation ID, the Message ID that holds the SQL query attachment, and the Attachment ID of that query attachment. The node will return the complete results of that query.

Links

Discussion