Chats

REST endpoints for chats. Bearer-auth required.

POST /api/chats/kickoff

Kickoff a chat

Create a thread between an agent and a user, optionally seeded with an agent-authored opening message. Returns the new thread id.

Request body

JSON
{
  "workspaceId": "string",
  "agentId": "string",
  "userId": "string",
  "message?": "string"
}

Response

JSON
{
  "threadId": "string"
}