Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2026 05:56 AM - edited 06-01-2026 05:57 AM
Hi @SantiNath_Dey ,
The Genie API provides two types of capabilities: Conversation APIs (Public Preview) for natural language data querying in chatbots, applications, and AI agent frameworks, and Management APIs for programmatic creation, configuration, and deployment of Genie spaces. The conversation APIs support stateful conversations where users can ask follow-up questions over time.
Using Genie Code programatically is currently not supported:
from databricks.sdk import WorkspaceClient
w = WorkspaceClient() # picks up env vars or ~/.databrickscfg
# Start a conversation
result = w.genie.start_conversation_and_wait(
space_id="<your_space_id>",
content="What were total sales last month?"
)
# Follow-up
follow_up = w.genie.create_message_and_wait(
space_id="<your_space_id>",
conversation_id=result.conversation_id,
content="Break that down by region"
)