Chat with an AI Assistant agent. A conversation holds the message history for one workspace and user; sending a message streams the agent's reply back over SSE as a sequence of items (text, visualizations, dashboards) that these endpoints then read back, rate, or link to saved metadata objects.
Start a conversation
path Parameters
workspace_idstring · required
query Parameters
isPreviewbooleanDefault: false
Request Body
agentIdmodeWhat this conversation serves. Omit for USER — a person's own thread in the assistant. PREVIEW backs the Agent Builder preview pane; MCP backs a single-purpose MCP tool call. Anything other than USER is a utility conversation: it is persisted (so follow-up turns can continue it) but kept out of the user's conversation list and out of per-agent last-activity, and it cannot switch agent.
Mutually exclusive with the deprecated isPreview query parameter.
Responses
Successful Response
conversationIdstring · requiredConversation identifier.
createdAtstring · requiredConversation creation timestamp (ISO-8601 UTC).
lastActivityAtstring · requiredLast activity timestamp (ISO-8601 UTC).
organizationIdstring · requiredOrganization identifier.
userIdstring · requiredOwner user identifier.
workspaceIdstring · requiredWorkspace identifier.
agentIdIdentifier of the agent bound to this conversation (if any).
modestring · enumWhat a conversation exists to serve.
USER is a person's own thread in the assistant. The others are utility modes, where the conversation serves something else and is kept out of the user's history: PREVIEW backs the Agent Builder preview pane, MCP backs a single-purpose MCP tool call.
Enum values:USERPREVIEWMCPpinnedbooleanWhether this conversation is pinned by the user.
Default: falsetitleConversation title.
isPreviewboolean · deprecated · requiredDeprecated, use
mode. True only whenmodeis PREVIEW.Default: false
Get a conversation
path Parameters
workspace_idstring · requiredconversation_idstring · required
Responses
Successful Response
conversationIdstring · requiredConversation identifier.
createdAtstring · requiredConversation creation timestamp (ISO-8601 UTC).
lastActivityAtstring · requiredLast activity timestamp (ISO-8601 UTC).
organizationIdstring · requiredOrganization identifier.
userIdstring · requiredOwner user identifier.
workspaceIdstring · requiredWorkspace identifier.
agentIdIdentifier of the agent bound to this conversation (if any).
modestring · enumWhat a conversation exists to serve.
USER is a person's own thread in the assistant. The others are utility modes, where the conversation serves something else and is kept out of the user's history: PREVIEW backs the Agent Builder preview pane, MCP backs a single-purpose MCP tool call.
Enum values:USERPREVIEWMCPpinnedbooleanWhether this conversation is pinned by the user.
Default: falsetitleConversation title.
isPreviewboolean · deprecated · requiredDeprecated, use
mode. True only whenmodeis PREVIEW.Default: false
Update a conversation
Only the title and the pinned flag can be changed.
path Parameters
workspace_idstring · requiredconversation_idstring · required
Responses
Successful Response
conversationIdstring · requiredConversation identifier.
createdAtstring · requiredConversation creation timestamp (ISO-8601 UTC).
lastActivityAtstring · requiredLast activity timestamp (ISO-8601 UTC).
organizationIdstring · requiredOrganization identifier.
userIdstring · requiredOwner user identifier.
workspaceIdstring · requiredWorkspace identifier.
agentIdIdentifier of the agent bound to this conversation (if any).
modestring · enumWhat a conversation exists to serve.
USER is a person's own thread in the assistant. The others are utility modes, where the conversation serves something else and is kept out of the user's history: PREVIEW backs the Agent Builder preview pane, MCP backs a single-purpose MCP tool call.
Enum values:USERPREVIEWMCPpinnedbooleanWhether this conversation is pinned by the user.
Default: falsetitleConversation title.
isPreviewboolean · deprecated · requiredDeprecated, use
mode. True only whenmodeis PREVIEW.Default: false
Generate a title
Derives a title for the conversation from the messages exchanged so far.
path Parameters
workspace_idstring · requiredconversation_idstring · required
Responses
Successful Response
conversationIdstring · requiredConversation identifier.
createdAtstring · requiredConversation creation timestamp (ISO-8601 UTC).
lastActivityAtstring · requiredLast activity timestamp (ISO-8601 UTC).
organizationIdstring · requiredOrganization identifier.
userIdstring · requiredOwner user identifier.
workspaceIdstring · requiredWorkspace identifier.
agentIdIdentifier of the agent bound to this conversation (if any).
modestring · enumWhat a conversation exists to serve.
USER is a person's own thread in the assistant. The others are utility modes, where the conversation serves something else and is kept out of the user's history: PREVIEW backs the Agent Builder preview pane, MCP backs a single-purpose MCP tool call.
Enum values:USERPREVIEWMCPpinnedbooleanWhether this conversation is pinned by the user.
Default: falsetitleConversation title.
isPreviewboolean · deprecated · requiredDeprecated, use
mode. True only whenmodeis PREVIEW.Default: false
Send a message
Streams the agent's reply back over SSE; see the 200 response for the event sequence.
path Parameters
workspace_idstring · requiredconversation_idstring · required
Responses
SSE stream with response_started/item/response_ended events; when interaction intelligence is enabled, interaction_step events (payload {"step": ...}) stream alongside the items.
Switch agent
Changes the active agent on an existing conversation.
path Parameters
workspace_idstring · requiredconversation_idstring · required
Responses
Successful Response
conversationIdstring · requiredConversation identifier.
createdAtstring · requiredConversation creation timestamp (ISO-8601 UTC).
lastActivityAtstring · requiredLast activity timestamp (ISO-8601 UTC).
organizationIdstring · requiredOrganization identifier.
userIdstring · requiredOwner user identifier.
workspaceIdstring · requiredWorkspace identifier.
agentIdIdentifier of the agent bound to this conversation (if any).
modestring · enumWhat a conversation exists to serve.
USER is a person's own thread in the assistant. The others are utility modes, where the conversation serves something else and is kept out of the user's history: PREVIEW backs the Agent Builder preview pane, MCP backs a single-purpose MCP tool call.
Enum values:USERPREVIEWMCPpinnedbooleanWhether this conversation is pinned by the user.
Default: falsetitleConversation title.
isPreviewboolean · deprecated · requiredDeprecated, use
mode. True only whenmodeis PREVIEW.Default: false