@Generated public interface GenieService
This is the high-level interface, that contains generated methods.
Evolving: this interface is under development. Method signatures may change.
GenieMessage createMessage(GenieCreateConversationMessageRequest genieCreateConversationMessageRequest)
Create new message in a [conversation](:method:genie/startconversation). The AI response uses all previously created messages in the conversation to respond.
GenieGetMessageQueryResultResponse executeMessageAttachmentQuery(GenieExecuteMessageAttachmentQueryRequest genieExecuteMessageAttachmentQueryRequest)
Execute the SQL for a message query attachment. Use this API when the query attachment has expired and needs to be re-executed.
GenieGetMessageQueryResultResponse executeMessageQuery(GenieExecuteMessageQueryRequest genieExecuteMessageQueryRequest)
Execute the SQL query in the message.
GenieGenerateDownloadFullQueryResultResponse generateDownloadFullQueryResult(GenieGenerateDownloadFullQueryResultRequest genieGenerateDownloadFullQueryResultRequest)
Initiate full SQL query result download and obtain a `download_id` to track the download progress. This call initiates a new SQL execution to generate the query result. The result is stored in an external link can be retrieved using the [Get Download Full Query Result](:method:genie/getdownloadfullqueryresult) API. Warning: Databricks strongly recommends that you protect the URLs that are returned by the `EXTERNAL_LINKS` disposition. See [Execute Statement](:method:statementexecution/executestatement) for more details.
GenieGetDownloadFullQueryResultResponse getDownloadFullQueryResult(GenieGetDownloadFullQueryResultRequest genieGetDownloadFullQueryResultRequest)
After [Generating a Full Query Result Download](:method:genie/getdownloadfullqueryresult) and successfully receiving a `download_id`, use this API to Poll download progress and retrieve the SQL query result external link(s) upon completion. Warning: Databricks strongly recommends that you protect the URLs that are returned by the `EXTERNAL_LINKS` disposition. When you use the `EXTERNAL_LINKS` disposition, a short-lived, presigned URL is generated, which can be used to download the results directly from Amazon S3. As a short-lived access credential is embedded in this presigned URL, you should protect the URL. Because presigned URLs are already generated with embedded temporary access credentials, you must not set an Authorization header in the download requests. See [Execute Statement](:method:statementexecution/executestatement) for more details.
GenieMessage getMessage(GenieGetConversationMessageRequest genieGetConversationMessageRequest)
Get message from conversation.
GenieGetMessageQueryResultResponse getMessageAttachmentQueryResult(GenieGetMessageAttachmentQueryResultRequest genieGetMessageAttachmentQueryResultRequest)
Get the result of SQL query if the message has a query attachment. This is only available if a message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`.
GenieGetMessageQueryResultResponse getMessageQueryResult(GenieGetMessageQueryResultRequest genieGetMessageQueryResultRequest)
Get the result of SQL query if the message has a query attachment. This is only available if a message has a query attachment and the message status is `EXECUTING_QUERY`.
GenieGetMessageQueryResultResponse getMessageQueryResultByAttachment(GenieGetQueryResultByAttachmentRequest genieGetQueryResultByAttachmentRequest)
Get the result of SQL query if the message has a query attachment. This is only available if a message has a query attachment and the message status is `EXECUTING_QUERY` OR `COMPLETED`.
GenieSpace getSpace(GenieGetSpaceRequest genieGetSpaceRequest)
Get details of a Genie Space.
GenieStartConversationResponse startConversation(GenieStartConversationMessageRequest genieStartConversationMessageRequest)
Start a new conversation.
Copyright © 2025. All rights reserved.