DNotifier class
The DNotifier class is the main SDK entry point. Instantiate it with credentials and callbacks, call connect(), then invoke messaging, AI, or workflow methods.
Method index
Connection
connect(), getPlanLimits(), disconnect() (Dart only)
Realtime
send(), sendBinary()
Chat history
fetchChatHistory(), deleteChatHistoryMessage()
AI & RAG
sendAI(), fetchAIHistory(), deleteAIHistoryMessage(), search(), addDocument(), updateDocument(), deleteDocument(), listDocuments(), getDocument()
Workflows
runWorkflow()
Tools & MCP
tools.register, mcp.connect, runAgent / run_agent
Deprecated
sendWithOpenAI()
Static workflow helpers (JavaScript)
DNotifier.defineAgent()
Create a named agent
DNotifier.Workflow
Workflow definition class
DNotifier.WorkflowContext
Context passed to entry and agent run
DNotifier.WorkflowRunner
Advanced runner (use runWorkflow instead)
DNotifier.WorkflowError
Workflow validation errors
DNotifier.Agent
Agent class
Dart exposes the same workflow types as top-level exports — see Workflow exports.
Language pages
JavaScript / TypeScript — Full method table with signatures and return types
Dart / Flutter — Full method table with Dart types
Prerequisites
All instance methods except the constructor require await notifier.connect() first and throw if isConnected is false.
See also
Last updated