Chat API
Conversational interface for interacting with the AI agent
Send Message
POST /trpc/chat.sendMessage
{
"message": "Plan my trip to Lisbon",
"threadId": "thread-123" // Optional
}
Get Thread
GET /trpc/chat.getThread
{
"threadId": "thread-123"
}
List Threads
GET /trpc/chat.listThreads
{
"limit": 20,
"offset": 0
}
Next: See Events API for event logging.